fix: bitcoin core template

This commit is contained in:
Andras Bacsai
2024-10-03 14:07:58 +02:00
parent ad7b5e6e1c
commit ee5eb427c9
2 changed files with 7 additions and 16 deletions

View File

@@ -1,26 +1,17 @@
# documentation: https://docs.example.com/ # documentation: https://hub.docker.com/r/ruimarinho/bitcoin-core/
# slogan: A self-hosted Bitcoin Core full node. # slogan: A self-hosted Bitcoin Core full node.
# tags: cryptocurrency,node,blockchain,bitcoin # tags: cryptocurrency,node,blockchain,bitcoin
# logo: svgs/bitcoin.svg # logo: svgs/bitcoin.svg
# port: 8332
services: services:
bitcoin-core: bitcoin-core:
image: ruimarinho/bitcoin-core:latest image: ruimarinho/bitcoin-core:latest
container_name: ${COOLIFY_PROJECT_NAME}-bitcoin-core
environment: environment:
BITCOIN_RPCUSER: bitcoinuser # adjust as needed - BITCOIN_RPCUSER=${BITCOIN_RPCUSER:-bitcoinuser}
BITCOIN_RPCPASSWORD: ${SERVICE_PASSWORD_PASSWORD64} - BITCOIN_RPCPASSWORD=${SERVICE_PASSWORD_PASSWORD64}
BITCOIN_NETWORK: mainnet - BITCOIN_NETWORK=${BITCOIN_NETWORK:-mainnet}
BITCOIN_PRINTTOCONSOLE: '1' - BITCOIN_PRINTTOCONSOLE=${BITCOIN_PRINTTOCONSOLE:-1}
BITCOIN_TXINDEX: '1' - BITCOIN_TXINDEX=${BITCOIN_TXINDEX:-1}
volumes: volumes:
- bitcoin_data:/home/bitcoin/.bitcoin - bitcoin_data:/home/bitcoin/.bitcoin
ports:
- "8332:8332"
- "8333:8333"
restart: unless-stopped
volumes:
bitcoin_data:
driver: local

File diff suppressed because one or more lines are too long