You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
894 B

version: "3"
services:
clightning_bitcoin:
7 years ago
image: nicolasdorier/clightning:v0.6
container_name: btcpayserver_clightning_bitcoin
restart: unless-stopped
environment:
LIGHTNINGD_OPT: |
bitcoin-datadir=/etc/bitcoin
bitcoin-rpcconnect=bitcoind
announce-addr=${BTCPAY_HOST}:9735
bind-addr=0.0.0.0:9735
network=${NBITCOIN_NETWORK:-regtest}
7 years ago
alias=${LIGHTNING_ALIAS}
chain=btc
volumes:
- "clightning_bitcoin_datadir:/root/.lightning"
- "bitcoin_datadir:/etc/bitcoin"
ports:
- "9735:9735"
links:
- bitcoind
btcpayserver:
environment:
7 years ago
BTCPAY_BTCLIGHTNING: "type=clightning;server=unix://etc/clightning_bitcoin/lightning-rpc"
volumes:
- "clightning_bitcoin_datadir:/etc/clightning_bitcoin"
links:
- clightning_bitcoin
volumes:
clightning_bitcoin_datadir: