lightning-loop: allow RPC access from main netns

Note that this also exposes the REST server, which is secured by
macaroon auth like the RPC server.
This commit is contained in:
Erik Arvstedt
2020-10-29 21:20:37 +01:00
parent d76b080b74
commit 8da01fe8a6
3 changed files with 2 additions and 4 deletions

View File

@@ -291,7 +291,7 @@ in {
host = netns.nanopos.address;
};
services.lightning-loop.cliExec = mkCliExec "lightning-loop";
services.lightning-loop.rpcAddress = netns.lightning-loop.address;
services.nbxplorer.bind = netns.nbxplorer.address;
services.btcpayserver.bind = netns.btcpayserver.address;