remove boltz and mempool, update lnd to 0.16.2-beta, update bitcoincore to 25.0
This commit is contained in:
parent
b15292f998
commit
f2f9d17b2b
4 changed files with 4 additions and 115 deletions
|
|
@ -1,34 +0,0 @@
|
||||||
[api]
|
|
||||||
host = "boltz"
|
|
||||||
port = 9_001
|
|
||||||
|
|
||||||
[[pairs]]
|
|
||||||
base = "BTC"
|
|
||||||
quote = "BTC"
|
|
||||||
rate = 1
|
|
||||||
fee = 0.5
|
|
||||||
timeoutDelta = 1_440
|
|
||||||
|
|
||||||
[[currencies]]
|
|
||||||
symbol = "BTC"
|
|
||||||
network = "bitcoinRegtest"
|
|
||||||
minWalletBalance = 10_000_000
|
|
||||||
minChannelBalance = 10_000_000
|
|
||||||
maxSwapAmount = 4_294_967
|
|
||||||
minSwapAmount = 10_000
|
|
||||||
maxZeroConfAmount = 0
|
|
||||||
|
|
||||||
[currencies.chain]
|
|
||||||
mempoolSpace = "http://mempool-web:8080/api"
|
|
||||||
host = "bitcoind"
|
|
||||||
zmqpubrawtx = "tcp://bitcoind:29000"
|
|
||||||
zmqpubrawblock = "tcp://bitcoind:29001"
|
|
||||||
port = 18_443
|
|
||||||
user = "lnbits"
|
|
||||||
password = "lnbits"
|
|
||||||
|
|
||||||
[currencies.lnd]
|
|
||||||
host = "lnd-2"
|
|
||||||
port = 10_009
|
|
||||||
certpath = "/data/lnd/tls.cert"
|
|
||||||
macaroonpath = "/data/lnd/data/chain/bitcoin/regtest/admin.macaroon"
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
network="regtest"
|
|
||||||
auth="lnbits:lnbits"
|
|
||||||
wait_duration="45s"
|
|
||||||
|
|
@ -4,8 +4,6 @@ services:
|
||||||
lnbits:
|
lnbits:
|
||||||
hostname: lnbits
|
hostname: lnbits
|
||||||
depends_on:
|
depends_on:
|
||||||
- boltz
|
|
||||||
- mempool-api
|
|
||||||
- lnd-3
|
- lnd-3
|
||||||
image: lnbitsdocker/lnbits-legend
|
image: lnbitsdocker/lnbits-legend
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
@ -26,22 +24,9 @@ services:
|
||||||
- lnbits-data:/app/data
|
- lnbits-data:/app/data
|
||||||
- ./data/lnd-3:/app/lnd:uid=1000,gid=1000
|
- ./data/lnd-3:/app/lnd:uid=1000,gid=1000
|
||||||
|
|
||||||
boltz:
|
|
||||||
hostname: boltz
|
|
||||||
depends_on:
|
|
||||||
- lnd-2
|
|
||||||
image: boltz/backend
|
|
||||||
entrypoint: "sh -c 'sleep 40; /boltz-backend/bin/boltzd'"
|
|
||||||
ports:
|
|
||||||
- 9000:9000
|
|
||||||
- 9001:9001
|
|
||||||
volumes:
|
|
||||||
- ./data/lnd-2:/data/lnd/
|
|
||||||
- ./data/boltz/:/root/.boltz/
|
|
||||||
|
|
||||||
bitcoind:
|
bitcoind:
|
||||||
hostname: bitcoind
|
hostname: bitcoind
|
||||||
image: boltz/bitcoin-core:24.0.1
|
image: boltz/bitcoin-core:25.0
|
||||||
command: "-regtest -fallbackfee=0.00000253 -zmqpubrawtx=tcp://0.0.0.0:29000 -zmqpubrawblock=tcp://0.0.0.0:29001 -txindex -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcuser=lnbits -rpcpassword=lnbits"
|
command: "-regtest -fallbackfee=0.00000253 -zmqpubrawtx=tcp://0.0.0.0:29000 -zmqpubrawblock=tcp://0.0.0.0:29001 -txindex -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcuser=lnbits -rpcpassword=lnbits"
|
||||||
expose:
|
expose:
|
||||||
- 29000
|
- 29000
|
||||||
|
|
@ -100,7 +85,7 @@ services:
|
||||||
hostname: lnd-1
|
hostname: lnd-1
|
||||||
depends_on:
|
depends_on:
|
||||||
- bitcoind
|
- bitcoind
|
||||||
image: boltz/lnd:0.15.5-beta
|
image: boltz/lnd:0.16.2-beta
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
entrypoint: "sh -c 'sleep 20; lnd --listen=lnd-1:9735 --rpclisten=lnd-1:10009 --restlisten=lnd-1:8081 --bitcoin.active --bitcoin.regtest --bitcoin.node=bitcoind --bitcoind.rpchost=bitcoind --bitcoind.zmqpubrawtx=bitcoind:29000 --bitcoind.zmqpubrawblock=bitcoind:29001 --bitcoind.rpcuser=lnbits --bitcoind.rpcpass=lnbits --noseedbackup --protocol.wumbo-channels'"
|
entrypoint: "sh -c 'sleep 20; lnd --listen=lnd-1:9735 --rpclisten=lnd-1:10009 --restlisten=lnd-1:8081 --bitcoin.active --bitcoin.regtest --bitcoin.node=bitcoind --bitcoind.rpchost=bitcoind --bitcoind.zmqpubrawtx=bitcoind:29000 --bitcoind.zmqpubrawblock=bitcoind:29001 --bitcoind.rpcuser=lnbits --bitcoind.rpcpass=lnbits --noseedbackup --protocol.wumbo-channels'"
|
||||||
ports:
|
ports:
|
||||||
|
|
@ -117,7 +102,7 @@ services:
|
||||||
hostname: lnd-2
|
hostname: lnd-2
|
||||||
depends_on:
|
depends_on:
|
||||||
- bitcoind
|
- bitcoind
|
||||||
image: boltz/lnd:0.15.5-beta
|
image: boltz/lnd:0.16.2-beta
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
entrypoint: "sh -c 'sleep 20; lnd --listen=lnd-2:9735 --rpclisten=lnd-2:10009 --restlisten=lnd-2:8081 --bitcoin.active --bitcoin.regtest --bitcoin.node=bitcoind --bitcoind.rpchost=bitcoind --bitcoind.zmqpubrawtx=bitcoind:29000 --bitcoind.zmqpubrawblock=bitcoind:29001 --bitcoind.rpcuser=lnbits --bitcoind.rpcpass=lnbits --noseedbackup --protocol.wumbo-channels'"
|
entrypoint: "sh -c 'sleep 20; lnd --listen=lnd-2:9735 --rpclisten=lnd-2:10009 --restlisten=lnd-2:8081 --bitcoin.active --bitcoin.regtest --bitcoin.node=bitcoind --bitcoind.rpchost=bitcoind --bitcoind.zmqpubrawtx=bitcoind:29000 --bitcoind.zmqpubrawblock=bitcoind:29001 --bitcoind.rpcuser=lnbits --bitcoind.rpcpass=lnbits --noseedbackup --protocol.wumbo-channels'"
|
||||||
expose:
|
expose:
|
||||||
|
|
@ -131,7 +116,7 @@ services:
|
||||||
hostname: lnd-3
|
hostname: lnd-3
|
||||||
depends_on:
|
depends_on:
|
||||||
- bitcoind
|
- bitcoind
|
||||||
image: boltz/lnd:0.15.5-beta
|
image: boltz/lnd:0.16.2-beta
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
entrypoint: "sh -c 'sleep 20; lnd --listen=lnd-3:9735 --rpclisten=lnd-3:10009 --restlisten=lnd-3:8081 --bitcoin.active --bitcoin.regtest --bitcoin.node=bitcoind --bitcoind.rpchost=bitcoind --bitcoind.zmqpubrawtx=bitcoind:29000 --bitcoind.zmqpubrawblock=bitcoind:29001 --bitcoind.rpcuser=lnbits --bitcoind.rpcpass=lnbits --noseedbackup --protocol.wumbo-channels'"
|
entrypoint: "sh -c 'sleep 20; lnd --listen=lnd-3:9735 --rpclisten=lnd-3:10009 --restlisten=lnd-3:8081 --bitcoin.active --bitcoin.regtest --bitcoin.node=bitcoind --bitcoind.rpchost=bitcoind --bitcoind.zmqpubrawtx=bitcoind:29000 --bitcoind.zmqpubrawblock=bitcoind:29001 --bitcoind.rpcuser=lnbits --bitcoind.rpcpass=lnbits --noseedbackup --protocol.wumbo-channels'"
|
||||||
expose:
|
expose:
|
||||||
|
|
@ -156,61 +141,5 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/eclair:/root/eclair
|
- ./data/eclair:/root/eclair
|
||||||
|
|
||||||
electrs:
|
|
||||||
depends_on:
|
|
||||||
- bitcoind
|
|
||||||
hostname: electrs
|
|
||||||
image: getumbrel/electrs:latest
|
|
||||||
environment:
|
|
||||||
ELECTRS_ELECTRUM_RPC_ADDR: "electrs:50001"
|
|
||||||
ELECTRS_DAEMON_RPC_ADDR: "bitcoind:18443"
|
|
||||||
ELECTRS_DAEMON_P2P_ADDR: "bitcoind:18444"
|
|
||||||
entrypoint: "sh -c 'sleep 15 && electrs'"
|
|
||||||
ports:
|
|
||||||
- 50001:50001
|
|
||||||
volumes:
|
|
||||||
- ./data/electrs/:/data/.electrs/
|
|
||||||
|
|
||||||
mempool-web:
|
|
||||||
restart: on-failure
|
|
||||||
depends_on:
|
|
||||||
- mempool-api
|
|
||||||
environment:
|
|
||||||
FRONTEND_HTTP_PORT: "8080"
|
|
||||||
BACKEND_MAINNET_HTTP_HOST: "mempool-api"
|
|
||||||
image: mempool/frontend:latest
|
|
||||||
ports:
|
|
||||||
- 8080:8080
|
|
||||||
|
|
||||||
mempool-api:
|
|
||||||
depends_on:
|
|
||||||
- electrs
|
|
||||||
- mempool-db
|
|
||||||
environment:
|
|
||||||
MEMPOOL_BACKEND: "electrum"
|
|
||||||
ELECTRUM_HOST: electrs
|
|
||||||
ELECTRUM_PORT: "50001"
|
|
||||||
ELECTRUM_TLS_ENABLED: "false"
|
|
||||||
CORE_RPC_HOST: bitcoind
|
|
||||||
CORE_RPC_PORT: "18443"
|
|
||||||
CORE_RPC_USERNAME: "lnbits"
|
|
||||||
CORE_RPC_PASSWORD: "lnbits"
|
|
||||||
DATABASE_ENABLED: "true"
|
|
||||||
DATABASE_HOST: "mempool-db"
|
|
||||||
DATABASE_DATABASE: "mempool"
|
|
||||||
DATABASE_USERNAME: "mempool"
|
|
||||||
DATABASE_PASSWORD: "mempool"
|
|
||||||
STATISTICS_ENABLED: "true"
|
|
||||||
image: mempool/backend:latest
|
|
||||||
restart: on-failure
|
|
||||||
|
|
||||||
mempool-db:
|
|
||||||
environment:
|
|
||||||
MYSQL_DATABASE: "mempool"
|
|
||||||
MYSQL_USER: "mempool"
|
|
||||||
MYSQL_PASSWORD: "mempool"
|
|
||||||
MYSQL_ROOT_PASSWORD: "admin"
|
|
||||||
image: mariadb:10.5.8
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
lnbits-data:
|
lnbits-data:
|
||||||
|
|
|
||||||
3
tests
3
tests
|
|
@ -55,9 +55,6 @@ for i in 1 2 3; do
|
||||||
done
|
done
|
||||||
|
|
||||||
run "eclair-1 openchannels" 1 $(docker exec lnbits-legend-eclair-1 curl -s http://localhost:8080/channels -X POST -u :lnbits| jq '. | length')
|
run "eclair-1 openchannels" 1 $(docker exec lnbits-legend-eclair-1 curl -s http://localhost:8080/channels -X POST -u :lnbits| jq '. | length')
|
||||||
|
|
||||||
run "boltz service status" "200" $(curl -s -o /dev/null --head -w "%{http_code}" "http://localhost:9001/version")
|
|
||||||
run "mempool service status" "200" $(curl -s -o /dev/null --head -w "%{http_code}" "http://localhost:8080/")
|
|
||||||
run "lnbits service status" "200" $(curl -s -o /dev/null -w "%{http_code}" "http://localhost:5001/")
|
run "lnbits service status" "200" $(curl -s -o /dev/null -w "%{http_code}" "http://localhost:5001/")
|
||||||
|
|
||||||
# return non-zero exit code if a test fails
|
# return non-zero exit code if a test fails
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue