Update node to use Bitcoin Knots for improved flexibility
Switch to the Bitcoin Knots Docker image and adjust data directory paths and healthcheck commands in docker-compose.yml, lnd-init.sh, ops.sh, and setup.sh. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 418bf6f8-212b-4bb0-a7a5-8231a061da4e Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 66d0db34-90d1-4f85-b27d-f9f747253c18 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9f85e954-647c-46a5-90a7-396e495a805a/418bf6f8-212b-4bb0-a7a5-8231a061da4e/sPDHkg8 Replit-Helium-Checkpoint-Created: true
This commit is contained in:
@@ -1,17 +1,21 @@
|
||||
services:
|
||||
|
||||
bitcoin:
|
||||
image: lncm/bitcoind:v27.0
|
||||
# Bitcoin Knots — Luke Dashjr's fork of Core, stricter mempool policy
|
||||
# Image is unofficial but built from reproducible Knots binaries (bitcoinknots.org)
|
||||
# For max sovereignty: build from source and replace this image with your own
|
||||
# To swap implementations: change image + datadir volume path, nothing else
|
||||
image: bitcoinknots/bitcoin:29.3.knots20260210
|
||||
container_name: bitcoin
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- bitcoin_data:/data/.bitcoin
|
||||
- bitcoin_data:/home/bitcoin/.bitcoin
|
||||
ports:
|
||||
- "8333:8333"
|
||||
networks:
|
||||
- node-net
|
||||
healthcheck:
|
||||
test: ["CMD", "bitcoin-cli", "-conf=/data/.bitcoin/bitcoin.conf", "getblockchaininfo"]
|
||||
test: ["CMD", "bitcoin-cli", "-datadir=/home/bitcoin/.bitcoin", "getblockchaininfo"]
|
||||
interval: 60s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user