diff --git a/bitcoin/core/entrypoint.sh b/bitcoin/core/entrypoint.sh index ee2a188..017e76f 100644 --- a/bitcoin/core/entrypoint.sh +++ b/bitcoin/core/entrypoint.sh @@ -23,13 +23,13 @@ fi 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 + echo "rpcport=8332" >> /btc.conf if [ $ENABLE_AUTH == 1 ] then echo "rpcuser=$USER" >> /btc.conf