nicolas.dorier
7 years ago
8 changed files with 250 additions and 127 deletions
@ -0,0 +1,49 @@ |
|||||
|
version: "3" |
||||
|
|
||||
|
services: |
||||
|
lnd_bitcoin: |
||||
|
image: btcpayserver/lnd:0.4.2.0 |
||||
|
container_name: btcpayserver_lnd_bitcoin |
||||
|
environment: |
||||
|
LND_CHAIN: "btc" |
||||
|
LND_ENVIRONMENT: "${NBITCOIN_NETWORK:-regtest}" |
||||
|
LND_EXTRA_ARGS: | |
||||
|
restlisten=0.0.0.0:8080 |
||||
|
bitcoin.node=bitcoind |
||||
|
bitcoind.rpchost=bitcoind:43782 |
||||
|
bitcoind.zmqpath=tcp://bitcoind:28332 |
||||
|
externalip=${BTCPAY_HOST}:9735 |
||||
|
alias=${LIGHTNING_ALIAS} |
||||
|
noencryptwallet=1 |
||||
|
notls=1 |
||||
|
ports: |
||||
|
- "9735:9735" |
||||
|
expose: |
||||
|
- "8080" |
||||
|
- "9735" |
||||
|
volumes: |
||||
|
- "lnd_bitcoin_datadir:/data" |
||||
|
- "bitcoin_datadir:/deps/.bitcoin" |
||||
|
links: |
||||
|
- bitcoind |
||||
|
|
||||
|
btcpayserver: |
||||
|
environment: |
||||
|
BTCPAY_BTCLIGHTNING: "type=lnd-rest;server=http://lnd_bitcoin:8080/;macaroonfilepath=/etc/lnd_bitcoin/admin.macaroon;allowinsecure=true" |
||||
|
volumes: |
||||
|
- "lnd_bitcoin_datadir:/etc/lnd_bitcoin" |
||||
|
links: |
||||
|
- lnd_bitcoin |
||||
|
|
||||
|
bitcoind: |
||||
|
environment: |
||||
|
BITCOIN_EXTRA_ARGS: | |
||||
|
zmqpubrawtx=tcp://0.0.0.0:28332 |
||||
|
zmqpubrawblock=tcp://0.0.0.0:28332 |
||||
|
zmqpubrawtxlock=tcp://0.0.0.0:28332 |
||||
|
zmqpubhashblock=tcp://0.0.0.0:28332 |
||||
|
expose: |
||||
|
- "28332" |
||||
|
|
||||
|
volumes: |
||||
|
lnd_bitcoin_datadir: |
@ -0,0 +1,49 @@ |
|||||
|
version: "3" |
||||
|
|
||||
|
services: |
||||
|
lnd_litecoin: |
||||
|
image: btcpayserver/lnd:0.4.2.0 |
||||
|
container_name: btcpayserver_lnd_litecoin |
||||
|
environment: |
||||
|
LND_CHAIN: "ltc" |
||||
|
LND_ENVIRONMENT: "${NBITCOIN_NETWORK:-regtest}" |
||||
|
LND_EXTRA_ARGS: | |
||||
|
restlisten=0.0.0.0:8080 |
||||
|
litecoin.node=litecoind |
||||
|
litecoind.rpchost=litecoind:43782 |
||||
|
litecoind.zmqpath=tcp://litecoind:28332 |
||||
|
externalip=${BTCPAY_HOST}:9736 |
||||
|
alias=${LIGHTNING_ALIAS} |
||||
|
noencryptwallet=1 |
||||
|
notls=1 |
||||
|
ports: |
||||
|
- "9736:9735" |
||||
|
expose: |
||||
|
- "8080" |
||||
|
- "9736" |
||||
|
volumes: |
||||
|
- "lnd_litecoin_datadir:/data" |
||||
|
- "litecoin_datadir:/deps/.litecoin" |
||||
|
links: |
||||
|
- litecoind |
||||
|
|
||||
|
btcpayserver: |
||||
|
environment: |
||||
|
BTCPAY_LTCLIGHTNING: "type=lnd-rest;server=http://lnd_litecoin:8080/;macaroonfilepath=/etc/lnd_litecoin/admin.macaroon;allowinsecure=true" |
||||
|
volumes: |
||||
|
- "lnd_litecoin_datadir:/etc/lnd_litecoin" |
||||
|
links: |
||||
|
- lnd_litecoin |
||||
|
|
||||
|
litecoind: |
||||
|
environment: |
||||
|
BITCOIN_EXTRA_ARGS: | |
||||
|
zmqpubrawtx=tcp://0.0.0.0:28332 |
||||
|
zmqpubrawblock=tcp://0.0.0.0:28332 |
||||
|
zmqpubrawtxlock=tcp://0.0.0.0:28332 |
||||
|
zmqpubhashblock=tcp://0.0.0.0:28332 |
||||
|
expose: |
||||
|
- "28332" |
||||
|
|
||||
|
volumes: |
||||
|
lnd_litecoin_datadir: |
Loading…
Reference in new issue