lightning: remote_hsmd_socket & remove env files

- 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>
This commit is contained in:
Lakshya Singh
2023-10-31 20:57:04 +05:30
parent 1731716944
commit 9cb9062ce8
7 changed files with 27 additions and 14 deletions

View File

@@ -30,15 +30,19 @@ services:
- clightning:/home/lightning/.lightning
expose:
- 19735
- 7701
networks:
- LN_testing
depends_on:
bitcoin-core:
condition: service_healthy
env_file:
- ./assets/testnet-env
environment:
- BITCOIN_CHAIN=test
- 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: