|
@ -80,6 +80,7 @@ version: "3" |
|
|
services: |
|
|
services: |
|
|
bitcoind: |
|
|
bitcoind: |
|
|
image: nicolasdorier/docker-bitcoin:0.16.0 |
|
|
image: nicolasdorier/docker-bitcoin:0.16.0 |
|
|
|
|
|
container_name: bitcoind |
|
|
environment: |
|
|
environment: |
|
|
BITCOIN_EXTRA_ARGS: | |
|
|
BITCOIN_EXTRA_ARGS: | |
|
|
testnet=1 |
|
|
testnet=1 |
|
@ -89,11 +90,14 @@ services: |
|
|
rpcpassword=rpcpass |
|
|
rpcpassword=rpcpass |
|
|
expose: |
|
|
expose: |
|
|
- "18332" |
|
|
- "18332" |
|
|
|
|
|
ports: |
|
|
|
|
|
- "0.0.0.0:18333:18333" |
|
|
volumes: |
|
|
volumes: |
|
|
- "bitcoin_datadir:/data" |
|
|
- "bitcoin_datadir:/data" |
|
|
|
|
|
|
|
|
clightning_bitcoin: |
|
|
clightning_bitcoin: |
|
|
image: elementsproject/lightningd |
|
|
image: elementsproject/lightningd |
|
|
|
|
|
container_name: lightningd |
|
|
command: |
|
|
command: |
|
|
- --bitcoin-rpcconnect=bitcoind |
|
|
- --bitcoin-rpcconnect=bitcoind |
|
|
- --bitcoin-rpcuser=rpcuser |
|
|
- --bitcoin-rpcuser=rpcuser |
|
@ -105,6 +109,8 @@ services: |
|
|
EXPOSE_TCP: "true" |
|
|
EXPOSE_TCP: "true" |
|
|
expose: |
|
|
expose: |
|
|
- "9735" |
|
|
- "9735" |
|
|
|
|
|
ports: |
|
|
|
|
|
- "0.0.0.0:9735:9735" |
|
|
volumes: |
|
|
volumes: |
|
|
- "clightning_bitcoin_datadir:/root/.lightning" |
|
|
- "clightning_bitcoin_datadir:/root/.lightning" |
|
|
- "bitcoin_datadir:/etc/bitcoin" |
|
|
- "bitcoin_datadir:/etc/bitcoin" |
|
|