Wait bitcoin is fully synched before starting clightning
This commit is contained in:
@@ -109,10 +109,13 @@ services:
|
||||
volumes:
|
||||
- "litecoin_datadir:/data"
|
||||
clightning_litecoin:
|
||||
image: nicolasdorier/clightning:v0.6
|
||||
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||
container_name: btcpayserver_clightning_litecoin
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||
LIGHTNINGD_CHAIN: ltc
|
||||
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||
LIGHTNINGD_OPT: |
|
||||
bitcoin-datadir=/etc/litecoin
|
||||
bitcoin-rpcconnect=litecoind
|
||||
@@ -124,9 +127,11 @@ services:
|
||||
volumes:
|
||||
- "clightning_litecoin_datadir:/root/.lightning"
|
||||
- "litecoin_datadir:/etc/litecoin"
|
||||
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||
ports:
|
||||
- "9736:9735"
|
||||
links:
|
||||
- nbxplorer
|
||||
- litecoind
|
||||
volumes:
|
||||
nginx_conf:
|
||||
|
||||
Reference in New Issue
Block a user