2021-03-19 17:25:40 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
bitcoind:
|
2024-01-05 12:52:10 +00:00
|
|
|
image: ruimarinho/bitcoin-core:23
|
|
|
|
container_name: bitcoind
|
2021-03-19 17:25:40 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
2024-01-05 12:52:10 +00:00
|
|
|
regtest:
|
|
|
|
aliases:
|
|
|
|
- bitcoind
|
2021-03-19 17:25:40 +00:00
|
|
|
command:
|
|
|
|
- "-txindex"
|
|
|
|
- "-regtest"
|
|
|
|
- "-rest"
|
|
|
|
- "-printtoconsole"
|
|
|
|
- "-zmqpubrawblock=tcp://0.0.0.0:28332"
|
|
|
|
- "-zmqpubrawtx=tcp://0.0.0.0:28333"
|
|
|
|
- "-rpcport=18443"
|
|
|
|
- "-rpcbind=0.0.0.0"
|
|
|
|
# This is just the hashed string "lightning" with a salt.
|
|
|
|
- "-rpcauth=lightning:8492220e715bbfdf5f165102bfd7ed4$$88090545821ed5e9db614588c0afbad575ccc14681fb77f3cae6899bc419af67"
|
2024-01-05 12:52:10 +00:00
|
|
|
- "-rpcallowip=0.0.0.0/0"
|
2021-03-19 17:25:40 +00:00
|
|
|
- "-fallbackfee=0.0002"
|
|
|
|
- "-peerblockfilters=1"
|
|
|
|
- "-blockfilterindex=1"
|
|
|
|
- "-wallet=/home/bitcoin/.bitcoin/regtest/wallets/miner"
|
|
|
|
environment:
|
|
|
|
- HOME=/home/bitcoin
|
2024-01-05 12:52:10 +00:00
|
|
|
volumes:
|
|
|
|
- bitcoind:/home/bitcoin/.bitcoin
|
2021-03-19 17:25:40 +00:00
|
|
|
|
|
|
|
lndserver:
|
2023-11-17 19:34:24 +00:00
|
|
|
image: lightninglabs/lnd:v0.17.0-beta
|
2024-01-05 12:52:10 +00:00
|
|
|
container_name: lndserver
|
2021-03-19 17:25:40 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
2024-01-05 12:52:10 +00:00
|
|
|
regtest:
|
|
|
|
aliases:
|
|
|
|
- lndserver
|
2021-03-19 17:25:40 +00:00
|
|
|
volumes:
|
|
|
|
- "lndserver:/root/.lnd"
|
|
|
|
depends_on:
|
|
|
|
- bitcoind
|
|
|
|
command:
|
2024-01-05 12:52:10 +00:00
|
|
|
- "--logdir=/root/.lnd"
|
2021-03-19 17:25:40 +00:00
|
|
|
- "--alias=lndserver"
|
|
|
|
- "--rpclisten=0.0.0.0:10009"
|
|
|
|
- "--noseedbackup"
|
|
|
|
- "--bitcoin.active"
|
|
|
|
- "--bitcoin.regtest"
|
|
|
|
- "--bitcoin.node=bitcoind"
|
2024-01-05 12:52:10 +00:00
|
|
|
- "--bitcoind.rpchost=bitcoind"
|
2021-03-19 17:25:40 +00:00
|
|
|
- "--bitcoind.rpcuser=lightning"
|
|
|
|
- "--bitcoind.rpcpass=lightning"
|
2024-01-05 12:52:10 +00:00
|
|
|
- "--bitcoind.zmqpubrawblock=tcp://bitcoind:28332"
|
|
|
|
- "--bitcoind.zmqpubrawtx=tcp://bitcoind:28333"
|
|
|
|
- "--debuglevel=debug"
|
|
|
|
- "--externalip=lndserver"
|
|
|
|
- "--tlsextradomain=lndserver"
|
2021-03-19 17:25:40 +00:00
|
|
|
|
|
|
|
loopserver:
|
2023-11-17 19:34:24 +00:00
|
|
|
image: lightninglabs/loopserver
|
2024-01-05 12:52:10 +00:00
|
|
|
container_name: loopserver
|
2021-03-19 17:25:40 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
2024-01-05 12:52:10 +00:00
|
|
|
regtest:
|
|
|
|
aliases:
|
|
|
|
- loopserver
|
2021-03-19 17:25:40 +00:00
|
|
|
volumes:
|
|
|
|
- "lndserver:/root/.lnd"
|
|
|
|
depends_on:
|
|
|
|
- lndserver
|
|
|
|
command:
|
|
|
|
- "daemon"
|
|
|
|
- "--maxamt=5000000"
|
2024-01-05 12:52:10 +00:00
|
|
|
- "--lnd.host=lndserver:10009"
|
|
|
|
- "--lnd.macaroondir=/home/loopserver/"
|
|
|
|
- "--lnd.tlspath=/home/loopserver/tls.cert"
|
|
|
|
- "--bitcoin.host=bitcoind:18443"
|
|
|
|
- "--bitcoin.user=lightning"
|
|
|
|
- "--bitcoin.password=lightning"
|
|
|
|
- "--bitcoin.zmqpubrawblock=tcp://bitcoind:28332"
|
|
|
|
- "--bitcoin.zmqpubrawtx=tcp://bitcoind:28333"
|
2021-03-19 17:25:40 +00:00
|
|
|
|
|
|
|
lndclient:
|
2023-11-17 19:34:24 +00:00
|
|
|
image: lightninglabs/lnd:v0.17.0-beta
|
2024-01-05 12:52:10 +00:00
|
|
|
container_name: lndclient
|
2021-03-19 17:25:40 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
2024-01-05 12:52:10 +00:00
|
|
|
regtest:
|
|
|
|
aliases:
|
|
|
|
- lndclient
|
2021-03-19 17:25:40 +00:00
|
|
|
volumes:
|
|
|
|
- "lndclient:/root/.lnd"
|
|
|
|
depends_on:
|
|
|
|
- bitcoind
|
|
|
|
command:
|
2024-01-05 12:52:10 +00:00
|
|
|
- "--logdir=/root/.lnd"
|
2021-03-19 17:25:40 +00:00
|
|
|
- "--alias=lndclient"
|
|
|
|
- "--rpclisten=0.0.0.0:10009"
|
|
|
|
- "--noseedbackup"
|
|
|
|
- "--bitcoin.active"
|
|
|
|
- "--bitcoin.regtest"
|
|
|
|
- "--bitcoin.node=bitcoind"
|
2024-01-05 12:52:10 +00:00
|
|
|
- "--bitcoind.rpchost=bitcoind"
|
2021-03-19 17:25:40 +00:00
|
|
|
- "--bitcoind.rpcuser=lightning"
|
|
|
|
- "--bitcoind.rpcpass=lightning"
|
2024-01-05 12:52:10 +00:00
|
|
|
- "--bitcoind.zmqpubrawblock=tcp://bitcoind:28332"
|
|
|
|
- "--bitcoind.zmqpubrawtx=tcp://bitcoind:28333"
|
|
|
|
- "--debuglevel=debug"
|
|
|
|
- "--externalip=lndclient"
|
|
|
|
- "--tlsextradomain=lndclient"
|
2021-03-19 17:25:40 +00:00
|
|
|
|
|
|
|
loopclient:
|
|
|
|
image: loopd
|
2024-01-05 12:52:10 +00:00
|
|
|
container_name: loopclient
|
2021-03-19 17:25:40 +00:00
|
|
|
build:
|
|
|
|
context: ../
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
2024-01-05 12:52:10 +00:00
|
|
|
regtest:
|
|
|
|
aliases:
|
|
|
|
- loopclient
|
2021-03-19 17:25:40 +00:00
|
|
|
volumes:
|
|
|
|
- "lndclient:/root/.lnd"
|
|
|
|
depends_on:
|
|
|
|
- lndclient
|
|
|
|
command:
|
|
|
|
- "loopd"
|
|
|
|
- "--network=regtest"
|
|
|
|
- "--debuglevel=debug"
|
2024-01-05 12:52:10 +00:00
|
|
|
- "--server.host=loopclient:11009"
|
2021-03-19 17:25:40 +00:00
|
|
|
- "--server.notls"
|
2024-01-05 12:52:10 +00:00
|
|
|
- "--lnd.host=lndclient:10009"
|
2021-03-19 17:25:40 +00:00
|
|
|
- "--lnd.macaroonpath=/root/.lnd/data/chain/bitcoin/regtest/admin.macaroon"
|
|
|
|
- "--lnd.tlspath=/root/.lnd/tls.cert"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
regtest:
|
|
|
|
|
|
|
|
volumes:
|
2024-01-05 12:52:10 +00:00
|
|
|
bitcoind:
|
2021-03-19 17:25:40 +00:00
|
|
|
lndserver:
|
2024-01-05 12:39:58 +00:00
|
|
|
lndclient:
|