Compare commits

...

2 Commits

Author SHA1 Message Date
omaroughriss
9bb7fdd037 Chown .bitcoin dir to bitcoin user 2025-07-16 11:17:11 +02:00
omaroughriss
15fc8368d4 Update bitcoin config to use wallets default dir 2025-07-16 11:15:29 +02:00
2 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,6 @@ dustrelayfee=0.00000001
minrelaytxfee=0.00000001
prune=0
signetchallenge=0020341c43803863c252df326e73574a27d7e19322992061017b0dc893e2eab90821
walletdir=/home/bitcoin/.bitcoin/wallets
wallet=mining
wallet=watchonly
maxtxfee=1

View File

@ -15,15 +15,16 @@ services:
- tor
volumes:
- bitcoin_data:/home/bitcoin/.bitcoin
- ./bitcoin/bitcoin.conf:/home/bitcoin/.bitcoin/bitcoin.conf:ro
- ./bitcoin/bitcoin.conf:/home/bitcoin/.bitcoin/bitcoin.conf
networks:
btcnet:
aliases:
- bitcoin
user: root
entrypoint: >
/bin/sh -c "
mkdir -p /home/bitcoin/.bitcoin/wallets &&
bitcoind -conf=/home/bitcoin/.bitcoin/bitcoin.conf -signet -printtoconsole"
chown -R bitcoin:bitcoin /home/bitcoin/.bitcoin &&
su-exec bitcoin bitcoind -conf=/home/bitcoin/.bitcoin/bitcoin.conf -signet -printtoconsole"
healthcheck:
test: ["CMD", "bitcoin-cli", "-conf=/home/bitcoin/.bitcoin/bitcoin.conf", "getblockchaininfo"]
interval: 30s
@ -89,7 +90,7 @@ services:
image: git.4nkweb.com/4nk/lecoffre-back-mini:latest
container_name: lecoffre-back
ports:
- "3001:3001"
- "8080:8080"
networks:
btcnet:
aliases: