docker-electrumx icon indicating copy to clipboard operation
docker-electrumx copied to clipboard

Add documentation for network config

Open schildbach opened this issue 6 years ago • 5 comments

I think it would be useful to document the necessary configuration for if you want to connect ElectrumX to…

  • a bitcoind running in a second container.
  • a bitcoind running on the host machine (e.g. via the Debian package).

schildbach avatar Apr 27 '19 15:04 schildbach

I just integrated this into BTCPay Server and it works well. You can see in there how it connects easily enough.

https://github.com/maltokyo/btcpayserver-docker/blob/fc23a3d8a863ae522aceac6dd0edf1df636fcfe0/docker-compose-generator/docker-fragments/opt-add-electumx.yml

But I do agree with you, why don't you make a PR here to document it for a standalone version here?

maltokyo avatar Nov 09 '19 23:11 maltokyo

For connecting to a host bitcoind, I think the example in the readme covers it:

docker run \
  -v /home/username/electrumx:/data \
  -e DAEMON_URL=http://user:pass@host:port \
  -e COIN=BitcoinSegwit \
  -p 50002:50002 \
  lukechilds/electrumx

With regards to bitcoind in Docker, I have my own Docker Compose setup for bitcoind/ElectrumX/Tor which I'm happy to stick in a repo and link to in the readme.

lukechilds avatar Nov 16 '19 13:11 lukechilds

Isn't the linking of two docker containers done from the outside, similar to the above -p 50002:50002?

schildbach avatar Dec 15 '19 19:12 schildbach

Can you throw in a sample docker-compose for bitcoind/electrumx/tor? I am looking at using a certbot compose and would be nice to start from your example.

buzzkillb avatar May 14 '20 04:05 buzzkillb

Hello. I'm also having issues making Electrumx_server to be able to use bitcoind RPC interface. It keeps returning Unauthorized attempts. Some documentation would be appreciated. Or a tutorial where it explains, step by step, all minimum configuration needed.

Cheers Psy

PsySc0rpi0n avatar Jan 30 '21 19:01 PsySc0rpi0n