diff --git a/code/docker/bitcoind-regtest/Dockerfile b/code/docker/bitcoind-regtest/Dockerfile new file mode 100644 index 0000000..4956a47 --- /dev/null +++ b/code/docker/bitcoind-regtest/Dockerfile @@ -0,0 +1,10 @@ +FROM bitcoind_base:latest + +ADD bitcoind /bitcoind +WORKDIR /bitcoind + +EXPOSE 12001 + +RUN ln -sf /dev/stdout /bitcoind/debug.log + +CMD ["bitcoind", "-datadir=/bitcoind"] diff --git a/code/docker/bitcoind-regtest/bitcoind/bitcoin.conf b/code/docker/bitcoind-regtest/bitcoind/bitcoin.conf new file mode 100644 index 0000000..2577ef0 --- /dev/null +++ b/code/docker/bitcoind-regtest/bitcoind/bitcoin.conf @@ -0,0 +1,15 @@ +regtest=1 +dnsseed=0 +upnp=0 +server=1 +debuglogfile=debug.log +debug=1 +printtoconsole=0 + +[regtest] +port=12000 +rpcport=12001 +rpcbind=0.0.0.0 +rpcallowip=0.0.0.0/0 +rpcuser=regtest +rpcpassword=regtest