services: bitcoind: build: # Repository root, not ./docker: the Dockerfile copies ./docker/run.sh # and ./docker/healthy_check.sh, and those paths are resolved against the # build context. context: . dockerfile: ./docker/Dockerfile image: registry.bitdeals.org/bitcoind environment: - BITCOIND_CHAIN=regtest - BITCOIND_USER=CHANGE_ME - BITCOIND_PASSWORD=CHANGE_ME # A fresh regtest chain has no fee history, so an unqualified # sendtoaddress is refused until this is set. 0.00001 BTC/kvB = 1 sat/vB. - BITCOIND_FALLBACKFEE=0.00001 # Both are off by default and both are required by an ElectrumX in front # of this node -- drop them if nothing indexes it. - BITCOIND_TXINDEX=1 - BITCOIND_TXOSPENDERINDEX=1 ports: # RPC controls the wallet and has no TLS -- loopback only. - 127.0.0.1:18443:18443 volumes: - btcdata:/data/.bitcoin volumes: btcdata: