compose: cln log file set param

- stdout and lightning.log file for persistence
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh 2024-01-17 08:37:07 +05:30
parent c2e1c07bb3
commit 102ebdcb66
No known key found for this signature in database
GPG Key ID: D3239BA6109A2CE7
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,8 @@ services:
command:
- --conf=/home/lightning/.lightning/regtest-config
- --bitcoin-rpcconnect=bitcoind
- --log-file=- # stdout
- --log-file=/home/lightning/.lightning/regtest/lightning.log
expose:
- 19846
ports:

View File

@ -24,6 +24,8 @@ services:
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: