Umbrel: Exposing RPC to Local Network (Manually)

Created on 26 Feb 2021  路  2Comments  路  Source: getumbrel/umbrel

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.

Most helpful comment

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.

All 2 comments

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rstmsn picture rstmsn  路  5Comments

maltokyo picture maltokyo  路  8Comments

mayankchhabra picture mayankchhabra  路  3Comments

hitchcott picture hitchcott  路  7Comments

nolim1t picture nolim1t  路  7Comments