From 44b3d08d868a9838a5ba8a39865817fc4384503c Mon Sep 17 00:00:00 2001 From: ALsJourney <63744576+ALsJourney@users.noreply.github.com> Date: Thu, 3 Oct 2024 13:13:25 +0200 Subject: [PATCH] Finished basic bitcoin core service --- public/svgs/bitcoin.svg | 15 +++++++++++++++ templates/compose/bitcoin-core.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 public/svgs/bitcoin.svg create mode 100644 templates/compose/bitcoin-core.yaml diff --git a/public/svgs/bitcoin.svg b/public/svgs/bitcoin.svg new file mode 100644 index 000000000..2b75c99bc --- /dev/null +++ b/public/svgs/bitcoin.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + diff --git a/templates/compose/bitcoin-core.yaml b/templates/compose/bitcoin-core.yaml new file mode 100644 index 000000000..dab7396f7 --- /dev/null +++ b/templates/compose/bitcoin-core.yaml @@ -0,0 +1,26 @@ +# documentation: https://docs.example.com/ +# slogan: A self-hosted Bitcoin Core full node. +# tags: cryptocurrency,node,blockchain,bitcoin +# logo: svgs/bitcoin.svg +# port: 8332 + +services: + bitcoin-core: + image: ruimarinho/bitcoin-core:latest + container_name: ${COOLIFY_PROJECT_NAME}-bitcoin-core + environment: + BITCOIN_RPCUSER: bitcoinuser # adjust as needed + BITCOIN_RPCPASSWORD: ${SERVICE_PASSWORD_PASSWORD64} + BITCOIN_NETWORK: mainnet + BITCOIN_PRINTTOCONSOLE: '1' + BITCOIN_TXINDEX: '1' + volumes: + - bitcoin_data:/home/bitcoin/.bitcoin + ports: + - "8332:8332" + - "8333:8333" + restart: unless-stopped + +volumes: + bitcoin_data: + driver: local