Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lnd: listen on 0.0.0.0 and rename docker-compose service name from lightningd to cln #158

Merged
merged 1 commit into from
Sep 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cmd/nigiri/resources/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ services:

lnd:
container_name: lnd
image: lightninglabs/lnd:v0.14.3-beta
image: lightninglabs/lnd:v0.15.0-beta
user: 1000:1000
depends_on:
- bitcoin
Expand All @@ -179,9 +179,10 @@ services:
stop_grace_period: 5m30s
ports:
- "9735:9735" # p2p
- "10009:10009" # grpc
- "10009:10009" # grpc"
- "18080:18080" # rest"

lightningd:
cln:
container_name: cln
image: elementsproject/lightningd:latest
environment:
Expand Down
6 changes: 6 additions & 0 deletions cmd/nigiri/resources/lnd.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
[Application Options]
alias=nigiri
debuglevel=debug
noseedbackup=1

# RPC open to all connections on Port 10009
rpclisten=0.0.0.0:10009
# REST open to all connections on Port 18080
restlisten=0.0.0.0:18080


[Bitcoin]
; If the Bitcoin chain should be active. Atm, only a single chain can be
Expand Down
4 changes: 2 additions & 2 deletions cmd/nigiri/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func startAction(ctx *cli.Context) error {
// LND
servicesToRun = append(servicesToRun, "lnd")
// Core Lightning Network
servicesToRun = append(servicesToRun, "lightningd")
servicesToRun = append(servicesToRun, "cln")
}

if isCI {
Expand All @@ -67,7 +67,7 @@ func startAction(ctx *cli.Context) error {
// LND
servicesToRun = append(servicesToRun, "lnd")
// Core Lightning Network
servicesToRun = append(servicesToRun, "lightningd")
servicesToRun = append(servicesToRun, "cln")
}
}

Expand Down