|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
clightning_bitcoin:
|
|
|
|
image: btcpayserver/lightning:v0.7.0-3
|
|
|
|
container_name: btcpayserver_clightning_bitcoin
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
|
|
|
LIGHTNINGD_CHAIN: btc
|
|
|
|
LIGHTNINGD_ALIAS: ${LIGHTNING_ALIAS}
|
|
|
|
LIGHTNINGD_ANNOUNCEADDR: ${BTCPAY_HOST}
|
|
|
|
LIGHTNINGD_PORT: 9735
|
|
|
|
LIGHTNINGD_READY_FILE: /root/.nbxplorer/btc_fully_synched
|
|
|
|
LIGHTNINGD_OPT: |
|
|
|
|
bitcoin-datadir=/etc/bitcoin
|
|
|
|
bitcoin-rpcconnect=bitcoind
|
|
|
|
volumes:
|
|
|
|
- "clightning_bitcoin_datadir:/root/.lightning"
|
|
|
|
- "bitcoin_datadir:/etc/bitcoin"
|
|
|
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
|
|
|
ports:
|
|
|
|
- "9735:9735"
|
|
|
|
links:
|
|
|
|
- bitcoind
|
|
|
|
clightning_bitcoin_charge:
|
|
|
|
image: shesek/lightning-charge:0.4.6-standalone
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
|
|
|
COOKIE_FILE: /data/.cookie
|
|
|
|
URL: ${BTCPAY_ROOTPATH:-/}lightning-charge/btc/
|
|
|
|
volumes:
|
|
|
|
- "clightning_bitcoin_datadir:/etc/lightning"
|
|
|
|
- "clightning_bitcoin_charge:/data"
|
|
|
|
expose:
|
|
|
|
- "9112"
|
|
|
|
links:
|
|
|
|
- clightning_bitcoin
|
|
|
|
clightning_bitcoin_spark:
|
|
|
|
image: shesek/spark-wallet:0.2.8-standalone
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
|
|
|
SPARK_OPT: --no-tls -C /data/.cookie
|
|
|
|
volumes:
|
|
|
|
- "clightning_bitcoin_datadir:/etc/lightning"
|
|
|
|
- "clightning_bitcoin_spark:/data"
|
|
|
|
links:
|
|
|
|
- clightning_bitcoin
|
|
|
|
expose:
|
|
|
|
- "9737"
|
|
|
|
btcpayserver:
|
|
|
|
environment:
|
|
|
|
BTCPAY_BTCLIGHTNING: "type=clightning;server=unix://etc/clightning_bitcoin/lightning-rpc"
|
|
|
|
BTCPAY_BTCEXTERNALSPARK: "server=/spark/btc/;cookiefile=/etc/clightning_bitcoin_spark/.cookie"
|
|
|
|
BTCPAY_BTCEXTERNALCHARGE: "server=/lightning-charge/btc/;cookiefilepath=/etc/clightning_bitcoin_charge/.cookie"
|
|
|
|
volumes:
|
|
|
|
- "clightning_bitcoin_datadir:/etc/clightning_bitcoin"
|
|
|
|
- "clightning_bitcoin_spark:/etc/clightning_bitcoin_spark"
|
|
|
|
- "clightning_bitcoin_charge:/etc/clightning_bitcoin_charge"
|
|
|
|
links:
|
|
|
|
- clightning_bitcoin
|
|
|
|
volumes:
|
|
|
|
clightning_bitcoin_datadir:
|
|
|
|
clightning_bitcoin_spark:
|
|
|
|
clightning_bitcoin_charge:
|