diff --git a/bitcoin/core/entrypoint.sh b/bitcoin/core/entrypoint.sh index 0eacdc7..ee2a188 100644 --- a/bitcoin/core/entrypoint.sh +++ b/bitcoin/core/entrypoint.sh @@ -24,6 +24,10 @@ if [ $ENABLE_RPC == 1 ] then echo "server=1" >> /btc.conf echo "rpcport=8332" >> /btc.conf + if [ $REGTEST == 1 ] + then + echo "[regtest]" >> /btc.conf + fi echo "rpcbind=0.0.0.0:8332" >> /btc.conf echo "rpcallowip=0.0.0.0" >> /btc.conf if [ $ENABLE_AUTH == 1 ]