Add electrumx support - how to connect to bitcoin node?

Hi,

I’m trying to add electrumx server support via portainer. The electrumx container would start running, but it needs needs to talk to bitcoind at port 8332. I can not figure out what IP address I should use to reach to bitcoin_bitcoind_1 container. I tried the literal name, 127.0.0.1, umbrel.local, umbrel node ip, etc. None seems to work.

The closest one is to use umbrel node IP address, in which case the error message is changed from unreachable to

ERROR:Daemon:daemon service refused: Unauthorized. Retrying occasionally…

I believe that is because the source IP address is probably not in the whitelist.

So my questsions are, 1) how to refer bitcoin container IP address? 2) how to add portainer IP address into the white list?

Thanks.

Nevermind. Using umbrel node IP address eventually worked. I used the wrong user:pass credential.

However, I’d still love to know to refer to the bitcoin container through internal name or IP address, rather through the umbrel node itself.

OK, I got further. It seems all umbrel built-in containers are in the subnet called umbrel_main_network

Does anybody know how to make portainer container to join the same network? I don’t see this option when I created the container with portainer web gui interface.