feat: add txoo in docker compose

Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh 2023-10-15 03:30:41 +05:30
parent 8ec90008ed
commit aaa6fdb0fd
No known key found for this signature in database
GPG Key ID: D3239BA6109A2CE7
3 changed files with 41 additions and 0 deletions

View File

@ -23,3 +23,10 @@ services:
- ./assets/main-env - ./assets/main-env
environment: environment:
- BITCOIN_CHAIN=main - BITCOIN_CHAIN=main
txoo:
container_name: txoo-main
command:
- -r http://rpcuser:VLSsigner1@bitcoind:8332
environment:
- BITCOIN_CHAIN=main

View File

@ -23,3 +23,10 @@ services:
- ./assets/regtest-env - ./assets/regtest-env
environment: environment:
- BITCOIN_CHAIN=regtest - BITCOIN_CHAIN=regtest
txoo:
container_name: txoo-regtest
command:
- -r http://rpcuser:VLSsigner1@bitcoind:38332
environment:
- BITCOIN_CHAIN=regtest

View File

@ -40,6 +40,30 @@ services:
environment: environment:
- BITCOIN_CHAIN=test - BITCOIN_CHAIN=test
txoo:
build:
dockerfile: ./txood/Dockerfile
content: .
container_name: txood-test
restart: always
build:
dockerfile: ./txood/Dockerfile
context: .
image: txood
container_name: txoo-test
command:
- -r http://rpcuser:VLSsigner1@bitcoind:18332
networks:
- LN_testing
volumes:
- txoo_data:/root/.txoo/
- data:/root/.bitcoin/
depends_on:
bitcoin-core:
condition: service_healthy
environment:
- BITCOIN_CHAIN=test
volumes: volumes:
data: data:
name: bitcoin_data name: bitcoin_data
@ -47,6 +71,9 @@ volumes:
clightning: clightning:
name: lightning_data name: lightning_data
external: true external: true
txoo_data:
name: txood_data
external: true
networks: networks:
LN_testing: LN_testing: