version: '3.7' services: bitcoind: image: "ruimarinho/bitcoin-core:0.19.1-alpine" ports: - "18443:18443" - "18444:18444" command: -printtoconsole -regtest=1 -txindex=1 -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcuser=btc -rpcpassword=btc bitcoind-fill-faucet: image: "byrnedo/alpine-curl" depends_on: - bitcoind restart: on-failure command: | -f -u btc:btc --data-binary '{"jsonrpc": "1.0", "id":"c", "method": "generatetoaddress", "params": [110, "mrzLDS7LT3otAnpiRWGYkWipdnAZJaXAZQ"] }' -H 'content-type: text/plain;' http://bitcoind:18443/