- stdout and lightning.log file for persistence Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
100 lines
2.2 KiB
YAML
100 lines
2.2 KiB
YAML
version: "3.8"
|
|
services:
|
|
bitcoin-core:
|
|
build:
|
|
context: ./bitcoind
|
|
image: bitcoind:${IMAGE_TAG:-latest}
|
|
container_name: bitcoind-test
|
|
volumes:
|
|
- bitcoin_data:/home/bitcoin/.bitcoin
|
|
expose:
|
|
- 18332
|
|
networks:
|
|
lightning:
|
|
aliases:
|
|
- bitcoind
|
|
environment:
|
|
- BITCOIN_CHAIN=test
|
|
|
|
core-lightning:
|
|
build:
|
|
context: ./lightningd
|
|
image: lightningd:${IMAGE_TAG:-latest}
|
|
container_name: lightningd-test
|
|
command:
|
|
- --conf=/home/lightning/.lightning/testnet-config
|
|
- --bitcoin-rpcconnect=bitcoind
|
|
- --log-file=- # stdout
|
|
- --log-file=/home/lightning/.lightning/testnet/lightning.log
|
|
volumes:
|
|
- lightning_data:/home/lightning/.lightning
|
|
expose:
|
|
- 19735
|
|
- 7701
|
|
networks:
|
|
- lightning
|
|
depends_on:
|
|
bitcoin-core:
|
|
condition: service_healthy
|
|
environment:
|
|
- BITCOIND_RPC_URL=http://rpcuser:VLSsigner1@bitcoind:18332
|
|
- RUST_LOG=info
|
|
- VLS_NETWORK=testnet
|
|
- VLS_BIND=0.0.0.0
|
|
- VLS_PORT=7701
|
|
|
|
txoo:
|
|
build:
|
|
context: ./txood
|
|
image: txood:${IMAGE_TAG:-latest}
|
|
container_name: txood-test
|
|
restart: unless-stopped
|
|
networks:
|
|
- lightning
|
|
volumes:
|
|
- txoo_data:/root/.txoo/
|
|
- bitcoin_data:/root/.bitcoin/
|
|
depends_on:
|
|
bitcoin-core:
|
|
condition: service_healthy
|
|
environment:
|
|
- BITCOIN_NETWORK=testnet
|
|
- BITCOIND_RPC_URL=http://rpcuser:VLSsigner1@bitcoind:18332
|
|
|
|
vls:
|
|
build:
|
|
context: ./vlsd
|
|
image: vlsd:${IMAGE_TAG:-latest}
|
|
container_name: vlsd-test
|
|
profiles:
|
|
- vls
|
|
command:
|
|
- --log-level=info
|
|
- --connect=http://core-lightning:7701
|
|
networks:
|
|
- lightning
|
|
volumes:
|
|
- vls_data:/home/vls/.lightning-signer
|
|
environment:
|
|
- VLS_NETWORK=testnet
|
|
- VLS_PERMISSIVE=1
|
|
- RUST_LOG=info
|
|
- BITCOIND_RPC_URL=http://rpcuser:VLSsigner1@bitcoind:18332
|
|
|
|
volumes:
|
|
bitcoin_data:
|
|
name: bitcoin_data
|
|
external: true
|
|
lightning_data:
|
|
name: lightning_data
|
|
external: true
|
|
txoo_data:
|
|
name: txoo_data
|
|
external: true
|
|
vls_data:
|
|
name: vls_data
|
|
external: true
|
|
|
|
networks:
|
|
lightning:
|