- build vls and copy binary in final layer - update configs - add vls port, network, rust log and rpc url in env - compose: set env variable in compose only - dont separate env files, ease of access on env vars with compose - common across networks set in dockerfile Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
31 lines
699 B
YAML
31 lines
699 B
YAML
version: "3.8"
|
|
services:
|
|
bitcoin-core:
|
|
container_name: bitcoind-regtest
|
|
expose:
|
|
- 38332
|
|
ports:
|
|
- 38333:38333
|
|
environment:
|
|
- BITCOIN_CHAIN=regtest
|
|
|
|
core-lightning:
|
|
container_name: lightningd-regtest
|
|
command:
|
|
- --conf=/home/lightning/.lightning/regtest-config
|
|
- --bitcoin-rpcconnect=bitcoind
|
|
expose:
|
|
- 19846
|
|
ports:
|
|
- 19846:19846
|
|
environment:
|
|
- BITCOIN_CHAIN=regtest
|
|
- VLS_NETWORK=regtest
|
|
- BITCOIND_RPC_URL=http://rpcuser:VLSsigner1@bitcoind:38332
|
|
|
|
txoo:
|
|
container_name: txoo-regtest
|
|
command:
|
|
- -r http://rpcuser:VLSsigner1@bitcoind:38332
|
|
environment:
|
|
- BITCOIN_CHAIN=regtest |