Can I ask, for the sake of documentation, how I would expose the bitcoin RPC to the local network?
I understand that this is a security risk, but I need the RPC for a project that I'm working on, and I don't quite understand exactly where I would configure the nginx/docker-proxy to make this happen.
Any help would be greatly appreciated.
Add $BITCOIN_RPC_PORT:$BITCOIN_RPC_PORT in /mnt/data/umbrel/docker-compose.yml
under following in bitcoind section:
ports:
- "$BITCOIN_P2P_PORT:$BITCOIN_P2P_PORT"
so it will look liket this:
ports:
- "$BITCOIN_P2P_PORT:$BITCOIN_P2P_PORT"
- "$BITCOIN_RPC_PORT:$BITCOIN_RPC_PORT"
And restart Umbrel by sudo systemctl restart umbrel-startup
Be aware that every update will rewrite the file and you will need to do it again.
Do I use the username and password from bitcoin dashboard?
Most helpful comment
Add
$BITCOIN_RPC_PORT:$BITCOIN_RPC_PORTin/mnt/data/umbrel/docker-compose.ymlunder following in
bitcoindsection:so it will look liket this:
And restart Umbrel by
sudo systemctl restart umbrel-startupBe aware that every update will rewrite the file and you will need to do it again.