Lightning-charge container is not running when setting up development environment for BTCPay Server.
Using lightningd directory mounted in /etc/lightning...
2023-01-09 19:02:32 Starting Lightning Charge
2023-01-09 19:02:32 Lightning client connection error Error: connect ECONNREFUSED /etc/lightning/lightning-rpc
2023-01-09 19:02:32 at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
2023-01-09 19:02:32 errno: 'ECONNREFUSED',
2023-01-09 19:02:32 code: 'ECONNREFUSED',
2023-01-09 19:02:32 syscall: 'connect',
2023-01-09 19:02:32 address: '/etc/lightning/lightning-rpc'
2023-01-09 19:02:32 }
2023-01-09 19:02:32 events.js:287
2023-01-09 19:02:32 throw er; // Unhandled 'error' event
2023-01-09 19:02:32 ^
2023-01-09 19:02:32
2023-01-09 19:02:32 Error: connect ECONNREFUSED /etc/lightning/lightning-rpc
2023-01-09 19:02:32 at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
2023-01-09 19:02:32 Emitted 'error' event on LightningClient instance at:
2023-01-09 19:02:32 at Socket.
Can you still reproduce this? I tried adding the LC fragment (plus password env) and it seems to work fine at the time of writing.