fix bitcoin core

This commit is contained in:
peaklabs-dev
2024-10-28 13:21:25 +01:00
parent a61f99f338
commit 294bc91174
2 changed files with 8 additions and 9 deletions

View File

@@ -5,16 +5,15 @@
services:
bitcoin-core:
image: 'ruimarinho/bitcoin-core:latest'
image: ruimarinho/bitcoin-core:latest
environment:
- 'BITCOIN_RPCUSER=${BITCOIN_RPCUSER:-bitcoinuser}'
- 'BITCOIN_RPCPASSWORD=${SERVICE_PASSWORD_PASSWORD64}'
- 'BITCOIN_PRINTTOCONSOLE=${BITCOIN_PRINTTOCONSOLE:-1}'
- 'BITCOIN_TXINDEX=${BITCOIN_TXINDEX:-1}'
- 'BITCOIN_SERVER=1'
- BITCOIN_RPCUSER=${BITCOIN_RPCUSER:-bitcoinuser}
- BITCOIN_RPCPASSWORD=${SERVICE_PASSWORD_PASSWORD64}
- BITCOIN_PRINTTOCONSOLE=${BITCOIN_PRINTTOCONSOLE:-1}
- BITCOIN_TXINDEX=${BITCOIN_TXINDEX:-1}
- BITCOIN_SERVER=${BITCOIN_SERVER:-1}
volumes:
- '/mnt/blockchain_data:/home/bitcoin/.bitcoin' # here use your own path, where you want to store the blockchain data
network_mode: "host" # use host network for secure connection only through localhost
- blockchain-data:/home/bitcoin/.bitcoin
command:
[
"-datadir=/home/bitcoin/.bitcoin",

View File

@@ -149,7 +149,7 @@
"bitcoin-core": {
"documentation": "https://hub.docker.com/r/ruimarinho/bitcoin-core/?utm_source=coolify.io",
"slogan": "A self-hosted Bitcoin Core full node.",
"compose": "c2VydmljZXM6CiAgYml0Y29pbi1jb3JlOgogICAgaW1hZ2U6ICdydWltYXJpbmhvL2JpdGNvaW4tY29yZTpsYXRlc3QnCiAgICBlbnZpcm9ubWVudDoKICAgICAgLSAnQklUQ09JTl9SUENVU0VSPSR7QklUQ09JTl9SUENVU0VSOi1iaXRjb2ludXNlcn0nCiAgICAgIC0gJ0JJVENPSU5fUlBDUEFTU1dPUkQ9JHtTRVJWSUNFX1BBU1NXT1JEX1BBU1N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Q9JHtTRVJWSUNFX1BBU1NXT1JEX1BBU1NXT1JENjR9JwogICAgICAtICctcHJpbnR0b2NvbnNvbGU9JHtCSVRDT0lOX1BSSU5UVE9DT05TT0xFfScKICAgICAgLSAnLXR4aW5kZXg9JHtCSVRDT0lOX1RYSU5ERVh9JwogICAgICAtICctc2VydmVyPSR7QklUQ09JTl9TRVJWRVJ9Jwo=",
"tags": [
"cryptocurrency",
"node",