Skip to content

Commit

Permalink
use docker container from @lncm
Browse files Browse the repository at this point in the history
  • Loading branch information
tiero committed Feb 10, 2023
1 parent cddff84 commit d2b3da5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions cmd/nigiri/resources/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ services:

# RPC daemon
bitcoin:
image: ghcr.io/vulpemventures/bitcoin:latest
user: 1000:1000
image: lncm/bitcoind:v24.0.1
container_name: bitcoin
command:
- -datadir=config
# wildcard user 0:0 to avoid permission problems
user: 0:0
restart: on-failure
stop_grace_period: 30s
ports:
- 18443:18443
- 18444:18444
# ZMQ
- 28332:28332
- 28333:28333
volumes:
- ./volumes/bitcoin/:/config
restart: unless-stopped
- ./volumes/bitcoin:/root/.bitcoin

liquid:
image: ghcr.io/vulpemventures/elements:latest
Expand Down
2 changes: 1 addition & 1 deletion cmd/nigiri/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func rpcAction(ctx *cli.Context) error {
generate := ctx.Int("generate")
named := ctx.Bool("named")

rpcArgs := []string{"exec", "bitcoin", "bitcoin-cli", "-datadir=config", "-rpcwallet=" + rpcWallet}
rpcArgs := []string{"exec", "bitcoin", "bitcoin-cli", "-rpcwallet=" + rpcWallet}
if isLiquid {
rpcArgs = []string{"exec", "liquid", "elements-cli", "-datadir=config", "-rpcwallet=" + rpcWallet}
}
Expand Down

0 comments on commit d2b3da5

Please sign in to comment.