Skip to content

Commit ee5eb42

Browse files
committed
fix: bitcoin core template
1 parent ad7b5e6 commit ee5eb42

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

templates/compose/bitcoin-core.yaml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,17 @@
1-
# documentation: https://docs.example.com/
1+
# documentation: https://hub.docker.com/r/ruimarinho/bitcoin-core/
22
# slogan: A self-hosted Bitcoin Core full node.
33
# tags: cryptocurrency,node,blockchain,bitcoin
44
# logo: svgs/bitcoin.svg
5-
# port: 8332
65

76
services:
87
bitcoin-core:
98
image: ruimarinho/bitcoin-core:latest
10-
container_name: ${COOLIFY_PROJECT_NAME}-bitcoin-core
119
environment:
12-
BITCOIN_RPCUSER: bitcoinuser # adjust as needed
13-
BITCOIN_RPCPASSWORD: ${SERVICE_PASSWORD_PASSWORD64}
14-
BITCOIN_NETWORK: mainnet
15-
BITCOIN_PRINTTOCONSOLE: '1'
16-
BITCOIN_TXINDEX: '1'
10+
- BITCOIN_RPCUSER=${BITCOIN_RPCUSER:-bitcoinuser}
11+
- BITCOIN_RPCPASSWORD=${SERVICE_PASSWORD_PASSWORD64}
12+
- BITCOIN_NETWORK=${BITCOIN_NETWORK:-mainnet}
13+
- BITCOIN_PRINTTOCONSOLE=${BITCOIN_PRINTTOCONSOLE:-1}
14+
- BITCOIN_TXINDEX=${BITCOIN_TXINDEX:-1}
1715
volumes:
1816
- bitcoin_data:/home/bitcoin/.bitcoin
19-
ports:
20-
- "8332:8332"
21-
- "8333:8333"
22-
restart: unless-stopped
2317

24-
volumes:
25-
bitcoin_data:
26-
driver: local

templates/service-templates.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)