vls: service added in compose stack

- update readme
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh 2023-10-31 21:50:22 +05:30
parent 4abc404246
commit 2880ba87eb
No known key found for this signature in database
GPG Key ID: D3239BA6109A2CE7
3 changed files with 27 additions and 0 deletions

View File

@ -36,6 +36,7 @@ sudo systemctl enable --now docker
docker volume create bitcoin_data
docker volume create lightning_data
docker volume create txoo_data
docker volume create vls_data
```
## Docker Compose Run

View File

@ -30,3 +30,8 @@ services:
environment:
- BITCOIN_NETWORK=regtest
vls:
container_name: vlsd-regtest
environment:
- VLS_NETWORK=regtest
- BITCOIND_RPC_URL=http://rpcuser:VLSsigner1@bitcoind:38332

View File

@ -64,6 +64,24 @@ services:
environment:
- BITCOIN_NETWORK=testnet
vls:
build:
dockerfile: ./vlsd/Dockerfile
context: .
image: vlsd
container_name: vlsd-test
command:
- --log-level=info
- --connect=http://core-lightning:7701
networks:
- LN_testing
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:
@ -75,6 +93,9 @@ volumes:
txoo_data:
name: txoo_data
external: true
vls_data:
name: vls_data
external: true
networks:
LN_testing: