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

Update LND version, fix bitcoind and CLN user, do not run tapd #190

Closed
wants to merge 3 commits into from
Closed
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
10 changes: 5 additions & 5 deletions cmd/nigiri/resources/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ services:
bitcoin:
image: lncm/bitcoind:v24.0.1
container_name: bitcoin
# wildcard user 0:0 to avoid permission problems
user: 0:0
user: 1000:1000
restart: on-failure
stop_grace_period: 30s
ports:
Expand All @@ -16,7 +15,7 @@ services:
- 28332:28332
- 28333:28333
volumes:
- ./volumes/bitcoin:/root/.bitcoin
- ./volumes/bitcoin:/data/.bitcoin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird you need the path to be changed, it was working till now. Care to elaborate?


liquid:
image: ghcr.io/vulpemventures/elements:latest
Expand Down Expand Up @@ -167,7 +166,7 @@ services:

lnd:
container_name: lnd
image: ghcr.io/vulpemventures/lnd:v0.16.2-beta
image: lightninglabs/lnd:v0.18.3-beta
user: 1000:1000
depends_on:
- bitcoin
Expand Down Expand Up @@ -209,6 +208,7 @@ services:
cln:
container_name: cln
image: elementsproject/lightningd:latest
user: 1000:1000
environment:
EXPOSE_TCP: "true"
command:
Expand All @@ -226,7 +226,7 @@ services:
- 9835:9835 # rpc
restart: unless-stopped
volumes:
- ./volumes/lightningd:/root/.lightning
- ./volumes/lightningd:/.lightning
- ./volumes/bitcoin:/etc/bitcoin

networks:
Expand Down
4 changes: 2 additions & 2 deletions cmd/nigiri/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func startAction(ctx *cli.Context) error {

if isLN {
// LND
servicesToRun = append(servicesToRun, "tap")
servicesToRun = append(servicesToRun, "lnd")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean it won't run tap anymore?

// Core Lightning Network
servicesToRun = append(servicesToRun, "cln")
}
Expand All @@ -64,7 +64,7 @@ func startAction(ctx *cli.Context) error {
// add also LN services if needed
if isLN {
// LND
servicesToRun = append(servicesToRun, "tap")
servicesToRun = append(servicesToRun, "lnd")
// Core Lightning Network
servicesToRun = append(servicesToRun, "cln")
}
Expand Down
Loading