mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Wait bitcoin is fully synched before starting clightning
This commit is contained in:
parent
8357a4c4f4
commit
05053ed7fa
@ -67,10 +67,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "bitcoin_datadir:/data"
|
- "bitcoin_datadir:/data"
|
||||||
clightning_bitcoin:
|
clightning_bitcoin:
|
||||||
image: nicolasdorier/clightning:v0.6
|
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||||
container_name: btcpayserver_clightning_bitcoin
|
container_name: btcpayserver_clightning_bitcoin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
LIGHTNINGD_CHAIN: btc
|
||||||
|
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||||
LIGHTNINGD_OPT: |
|
LIGHTNINGD_OPT: |
|
||||||
bitcoin-datadir=/etc/bitcoin
|
bitcoin-datadir=/etc/bitcoin
|
||||||
bitcoin-rpcconnect=bitcoind
|
bitcoin-rpcconnect=bitcoind
|
||||||
@ -82,9 +85,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "clightning_bitcoin_datadir:/root/.lightning"
|
- "clightning_bitcoin_datadir:/root/.lightning"
|
||||||
- "bitcoin_datadir:/etc/bitcoin"
|
- "bitcoin_datadir:/etc/bitcoin"
|
||||||
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||||
ports:
|
ports:
|
||||||
- "9735:9735"
|
- "9735:9735"
|
||||||
links:
|
links:
|
||||||
|
- nbxplorer
|
||||||
- bitcoind
|
- bitcoind
|
||||||
volumes:
|
volumes:
|
||||||
postgres_datadir:
|
postgres_datadir:
|
||||||
|
@ -75,10 +75,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "litecoin_datadir:/data"
|
- "litecoin_datadir:/data"
|
||||||
clightning_litecoin:
|
clightning_litecoin:
|
||||||
image: nicolasdorier/clightning:v0.6
|
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||||
container_name: btcpayserver_clightning_litecoin
|
container_name: btcpayserver_clightning_litecoin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
LIGHTNINGD_CHAIN: ltc
|
||||||
|
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||||
LIGHTNINGD_OPT: |
|
LIGHTNINGD_OPT: |
|
||||||
bitcoin-datadir=/etc/litecoin
|
bitcoin-datadir=/etc/litecoin
|
||||||
bitcoin-rpcconnect=litecoind
|
bitcoin-rpcconnect=litecoind
|
||||||
@ -90,9 +93,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "clightning_litecoin_datadir:/root/.lightning"
|
- "clightning_litecoin_datadir:/root/.lightning"
|
||||||
- "litecoin_datadir:/etc/litecoin"
|
- "litecoin_datadir:/etc/litecoin"
|
||||||
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||||
ports:
|
ports:
|
||||||
- "9736:9735"
|
- "9736:9735"
|
||||||
links:
|
links:
|
||||||
|
- nbxplorer
|
||||||
- litecoind
|
- litecoind
|
||||||
bitcoind:
|
bitcoind:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -110,10 +115,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "bitcoin_datadir:/data"
|
- "bitcoin_datadir:/data"
|
||||||
clightning_bitcoin:
|
clightning_bitcoin:
|
||||||
image: nicolasdorier/clightning:v0.6
|
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||||
container_name: btcpayserver_clightning_bitcoin
|
container_name: btcpayserver_clightning_bitcoin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
LIGHTNINGD_CHAIN: btc
|
||||||
|
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||||
LIGHTNINGD_OPT: |
|
LIGHTNINGD_OPT: |
|
||||||
bitcoin-datadir=/etc/bitcoin
|
bitcoin-datadir=/etc/bitcoin
|
||||||
bitcoin-rpcconnect=bitcoind
|
bitcoin-rpcconnect=bitcoind
|
||||||
@ -125,9 +133,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "clightning_bitcoin_datadir:/root/.lightning"
|
- "clightning_bitcoin_datadir:/root/.lightning"
|
||||||
- "bitcoin_datadir:/etc/bitcoin"
|
- "bitcoin_datadir:/etc/bitcoin"
|
||||||
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||||
ports:
|
ports:
|
||||||
- "9735:9735"
|
- "9735:9735"
|
||||||
links:
|
links:
|
||||||
|
- nbxplorer
|
||||||
- bitcoind
|
- bitcoind
|
||||||
volumes:
|
volumes:
|
||||||
postgres_datadir:
|
postgres_datadir:
|
||||||
|
@ -67,10 +67,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "litecoin_datadir:/data"
|
- "litecoin_datadir:/data"
|
||||||
clightning_litecoin:
|
clightning_litecoin:
|
||||||
image: nicolasdorier/clightning:v0.6
|
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||||
container_name: btcpayserver_clightning_litecoin
|
container_name: btcpayserver_clightning_litecoin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
LIGHTNINGD_CHAIN: ltc
|
||||||
|
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||||
LIGHTNINGD_OPT: |
|
LIGHTNINGD_OPT: |
|
||||||
bitcoin-datadir=/etc/litecoin
|
bitcoin-datadir=/etc/litecoin
|
||||||
bitcoin-rpcconnect=litecoind
|
bitcoin-rpcconnect=litecoind
|
||||||
@ -82,9 +85,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "clightning_litecoin_datadir:/root/.lightning"
|
- "clightning_litecoin_datadir:/root/.lightning"
|
||||||
- "litecoin_datadir:/etc/litecoin"
|
- "litecoin_datadir:/etc/litecoin"
|
||||||
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||||
ports:
|
ports:
|
||||||
- "9736:9735"
|
- "9736:9735"
|
||||||
links:
|
links:
|
||||||
|
- nbxplorer
|
||||||
- litecoind
|
- litecoind
|
||||||
volumes:
|
volumes:
|
||||||
postgres_datadir:
|
postgres_datadir:
|
||||||
|
@ -109,10 +109,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "bitcoin_datadir:/data"
|
- "bitcoin_datadir:/data"
|
||||||
clightning_bitcoin:
|
clightning_bitcoin:
|
||||||
image: nicolasdorier/clightning:v0.6
|
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||||
container_name: btcpayserver_clightning_bitcoin
|
container_name: btcpayserver_clightning_bitcoin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
LIGHTNINGD_CHAIN: btc
|
||||||
|
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||||
LIGHTNINGD_OPT: |
|
LIGHTNINGD_OPT: |
|
||||||
bitcoin-datadir=/etc/bitcoin
|
bitcoin-datadir=/etc/bitcoin
|
||||||
bitcoin-rpcconnect=bitcoind
|
bitcoin-rpcconnect=bitcoind
|
||||||
@ -124,9 +127,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "clightning_bitcoin_datadir:/root/.lightning"
|
- "clightning_bitcoin_datadir:/root/.lightning"
|
||||||
- "bitcoin_datadir:/etc/bitcoin"
|
- "bitcoin_datadir:/etc/bitcoin"
|
||||||
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||||
ports:
|
ports:
|
||||||
- "9735:9735"
|
- "9735:9735"
|
||||||
links:
|
links:
|
||||||
|
- nbxplorer
|
||||||
- bitcoind
|
- bitcoind
|
||||||
volumes:
|
volumes:
|
||||||
nginx_conf:
|
nginx_conf:
|
||||||
|
@ -117,10 +117,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "litecoin_datadir:/data"
|
- "litecoin_datadir:/data"
|
||||||
clightning_litecoin:
|
clightning_litecoin:
|
||||||
image: nicolasdorier/clightning:v0.6
|
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||||
container_name: btcpayserver_clightning_litecoin
|
container_name: btcpayserver_clightning_litecoin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
LIGHTNINGD_CHAIN: ltc
|
||||||
|
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||||
LIGHTNINGD_OPT: |
|
LIGHTNINGD_OPT: |
|
||||||
bitcoin-datadir=/etc/litecoin
|
bitcoin-datadir=/etc/litecoin
|
||||||
bitcoin-rpcconnect=litecoind
|
bitcoin-rpcconnect=litecoind
|
||||||
@ -132,9 +135,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "clightning_litecoin_datadir:/root/.lightning"
|
- "clightning_litecoin_datadir:/root/.lightning"
|
||||||
- "litecoin_datadir:/etc/litecoin"
|
- "litecoin_datadir:/etc/litecoin"
|
||||||
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||||
ports:
|
ports:
|
||||||
- "9736:9735"
|
- "9736:9735"
|
||||||
links:
|
links:
|
||||||
|
- nbxplorer
|
||||||
- litecoind
|
- litecoind
|
||||||
bitcoind:
|
bitcoind:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -152,10 +157,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "bitcoin_datadir:/data"
|
- "bitcoin_datadir:/data"
|
||||||
clightning_bitcoin:
|
clightning_bitcoin:
|
||||||
image: nicolasdorier/clightning:v0.6
|
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||||
container_name: btcpayserver_clightning_bitcoin
|
container_name: btcpayserver_clightning_bitcoin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
LIGHTNINGD_CHAIN: btc
|
||||||
|
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||||
LIGHTNINGD_OPT: |
|
LIGHTNINGD_OPT: |
|
||||||
bitcoin-datadir=/etc/bitcoin
|
bitcoin-datadir=/etc/bitcoin
|
||||||
bitcoin-rpcconnect=bitcoind
|
bitcoin-rpcconnect=bitcoind
|
||||||
@ -167,9 +175,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "clightning_bitcoin_datadir:/root/.lightning"
|
- "clightning_bitcoin_datadir:/root/.lightning"
|
||||||
- "bitcoin_datadir:/etc/bitcoin"
|
- "bitcoin_datadir:/etc/bitcoin"
|
||||||
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||||
ports:
|
ports:
|
||||||
- "9735:9735"
|
- "9735:9735"
|
||||||
links:
|
links:
|
||||||
|
- nbxplorer
|
||||||
- bitcoind
|
- bitcoind
|
||||||
volumes:
|
volumes:
|
||||||
nginx_conf:
|
nginx_conf:
|
||||||
|
@ -109,10 +109,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "litecoin_datadir:/data"
|
- "litecoin_datadir:/data"
|
||||||
clightning_litecoin:
|
clightning_litecoin:
|
||||||
image: nicolasdorier/clightning:v0.6
|
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||||
container_name: btcpayserver_clightning_litecoin
|
container_name: btcpayserver_clightning_litecoin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
LIGHTNINGD_CHAIN: ltc
|
||||||
|
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||||
LIGHTNINGD_OPT: |
|
LIGHTNINGD_OPT: |
|
||||||
bitcoin-datadir=/etc/litecoin
|
bitcoin-datadir=/etc/litecoin
|
||||||
bitcoin-rpcconnect=litecoind
|
bitcoin-rpcconnect=litecoind
|
||||||
@ -124,9 +127,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "clightning_litecoin_datadir:/root/.lightning"
|
- "clightning_litecoin_datadir:/root/.lightning"
|
||||||
- "litecoin_datadir:/etc/litecoin"
|
- "litecoin_datadir:/etc/litecoin"
|
||||||
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||||
ports:
|
ports:
|
||||||
- "9736:9735"
|
- "9736:9735"
|
||||||
links:
|
links:
|
||||||
|
- nbxplorer
|
||||||
- litecoind
|
- litecoind
|
||||||
volumes:
|
volumes:
|
||||||
nginx_conf:
|
nginx_conf:
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
. /etc/profile.d/btcpay-env.sh
|
. /etc/profile.d/btcpay-env.sh
|
||||||
|
|
||||||
cd "`dirname $BTCPAY_ENV_FILE`"
|
cd "`dirname $BTCPAY_ENV_FILE`"
|
||||||
docker-compose -f $BTCPAY_DOCKER_COMPOSE up -d
|
docker-compose -f $BTCPAY_DOCKER_COMPOSE up --remove-orphans -d
|
||||||
|
@ -2,10 +2,13 @@ version: "3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
clightning_bitcoin:
|
clightning_bitcoin:
|
||||||
image: nicolasdorier/clightning:v0.6
|
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||||
container_name: btcpayserver_clightning_bitcoin
|
container_name: btcpayserver_clightning_bitcoin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
LIGHTNINGD_CHAIN: btc
|
||||||
|
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||||
LIGHTNINGD_OPT: |
|
LIGHTNINGD_OPT: |
|
||||||
bitcoin-datadir=/etc/bitcoin
|
bitcoin-datadir=/etc/bitcoin
|
||||||
bitcoin-rpcconnect=bitcoind
|
bitcoin-rpcconnect=bitcoind
|
||||||
@ -17,9 +20,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "clightning_bitcoin_datadir:/root/.lightning"
|
- "clightning_bitcoin_datadir:/root/.lightning"
|
||||||
- "bitcoin_datadir:/etc/bitcoin"
|
- "bitcoin_datadir:/etc/bitcoin"
|
||||||
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||||
ports:
|
ports:
|
||||||
- "9735:9735"
|
- "9735:9735"
|
||||||
links:
|
links:
|
||||||
|
- nbxplorer
|
||||||
- bitcoind
|
- bitcoind
|
||||||
btcpayserver:
|
btcpayserver:
|
||||||
environment:
|
environment:
|
||||||
|
@ -2,10 +2,13 @@ version: "3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
clightning_litecoin:
|
clightning_litecoin:
|
||||||
image: nicolasdorier/clightning:v0.6
|
image: nicolasdorier/clightning:aeafe4dbe7d5c61f664c18417698866b0d70252f-2
|
||||||
container_name: btcpayserver_clightning_litecoin
|
container_name: btcpayserver_clightning_litecoin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
LIGHTNINGD_CHAIN: ltc
|
||||||
|
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
|
||||||
LIGHTNINGD_OPT: |
|
LIGHTNINGD_OPT: |
|
||||||
bitcoin-datadir=/etc/litecoin
|
bitcoin-datadir=/etc/litecoin
|
||||||
bitcoin-rpcconnect=litecoind
|
bitcoin-rpcconnect=litecoind
|
||||||
@ -17,9 +20,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "clightning_litecoin_datadir:/root/.lightning"
|
- "clightning_litecoin_datadir:/root/.lightning"
|
||||||
- "litecoin_datadir:/etc/litecoin"
|
- "litecoin_datadir:/etc/litecoin"
|
||||||
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||||
ports:
|
ports:
|
||||||
- "9736:9735"
|
- "9736:9735"
|
||||||
links:
|
links:
|
||||||
|
- nbxplorer
|
||||||
- litecoind
|
- litecoind
|
||||||
btcpayserver:
|
btcpayserver:
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user