2020-11-23 20:43:19 -05:00
|
|
|
version: '3'
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
|
|
bitcoin-core:
|
|
|
|
|
command:
|
|
|
|
|
-printtoconsole
|
|
|
|
|
-testnet=1
|
|
|
|
|
-server=1
|
|
|
|
|
-rpcbind=0.0.0.0
|
|
|
|
|
-rpcallowip=0.0.0.0/0
|
|
|
|
|
-rpcuser=devuser
|
|
|
|
|
-rpcpassword=devpass
|
|
|
|
|
-zmqpubrawblock=tcp://0.0.0.0:28332
|
|
|
|
|
-zmqpubrawtx=tcp://0.0.0.0:28333
|
2021-09-01 06:06:11 -07:00
|
|
|
-zmqpubhashblock=tcp://0.0.0.0:28334
|
|
|
|
|
-zmqpubhashtx=tcp://0.0.0.0:28334
|
2020-11-23 20:43:19 -05:00
|
|
|
|
2022-05-08 12:41:44 -07:00
|
|
|
clightning_client:
|
|
|
|
|
command:
|
|
|
|
|
- --bitcoin-rpcconnect=bitcoin-core
|
|
|
|
|
- --bitcoin-rpcuser=devuser
|
|
|
|
|
- --bitcoin-rpcpassword=devpass
|
|
|
|
|
- --network=testnet
|
|
|
|
|
- --plugin-dir=/usr/libexec/c-lightning/plugins
|
|
|
|
|
- --alias=myclientningclient
|
|
|
|
|
- --log-level=debug
|
|
|
|
|
- --rpc-file=/root/.lightning/lightning-rpc
|
|
|
|
|
- --rpc-file-mode=0777
|
|
|
|
|
- --proxy=tor-node:9050
|
|
|
|
|
|
|
|
|
|
clightning_server:
|
|
|
|
|
command:
|
|
|
|
|
- --bitcoin-rpcconnect=bitcoin-core
|
|
|
|
|
- --bitcoin-rpcuser=devuser
|
|
|
|
|
- --bitcoin-rpcpassword=devpass
|
|
|
|
|
- --network=testnet
|
|
|
|
|
- --plugin-dir=/usr/libexec/c-lightning/plugins
|
|
|
|
|
- --alias=myclientningserver
|
|
|
|
|
- --log-level=debug
|
|
|
|
|
- --rpc-file=/root/.lightning/lightning-rpc
|
|
|
|
|
- --rpc-file-mode=0777
|
|
|
|
|
- --proxy=tor-node:9050
|
|
|
|
|
|
2020-12-27 20:55:52 -08:00
|
|
|
# squeaknode:
|
|
|
|
|
# environment:
|
|
|
|
|
# - NETWORK=testnet
|
2020-11-23 20:43:19 -05:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
# shared volume is needed for sharing the btcd certificate
|
|
|
|
|
shared:
|
|
|
|
|
driver: local
|