Skip to content

Commit ad7b5e6

Browse files
authored
Merge pull request coollabsio#3689 from ALsJourney/bitcoin_core_service
Basic Bitcoin Core node service
2 parents 73bd344 + 44b3d08 commit ad7b5e6

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

public/svgs/bitcoin.svg

Lines changed: 15 additions & 0 deletions
Loading

templates/compose/bitcoin-core.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# documentation: https://docs.example.com/
2+
# slogan: A self-hosted Bitcoin Core full node.
3+
# tags: cryptocurrency,node,blockchain,bitcoin
4+
# logo: svgs/bitcoin.svg
5+
# port: 8332
6+
7+
services:
8+
bitcoin-core:
9+
image: ruimarinho/bitcoin-core:latest
10+
container_name: ${COOLIFY_PROJECT_NAME}-bitcoin-core
11+
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'
17+
volumes:
18+
- bitcoin_data:/home/bitcoin/.bitcoin
19+
ports:
20+
- "8332:8332"
21+
- "8333:8333"
22+
restart: unless-stopped
23+
24+
volumes:
25+
bitcoin_data:
26+
driver: local

0 commit comments

Comments
 (0)