Added rpcauth.py to bitcoin

This commit is contained in:
2024-02-13 18:41:22 -06:00
parent 03a80facb8
commit 12c0743b16
4 changed files with 63 additions and 3 deletions
@@ -10,7 +10,7 @@ btc_init
if [ $# -eq 0 ]; then
# If IPv6 is in the container do both:
#set -- '-rpcbind=[::]:8332' '-rpcallowip=::/0' '-rpcallowip=0.0.0.0/0'
set -- '-rpcbind=:8332' '-rpcallowip=0.0.0.0/0' '-rpcuser={{bitcoin_rpcuser}}' '-rpcpassword={{bitcoin_rpcpassword}}'
set -- '-rpcbind=:8332' '-rpcallowip=0.0.0.0/0' '-rpcauth={{bitcoin_rpcauth}}'
fi
exec bitcoind "$@"