lukechilds / docker-electrumx

Run an Electrum server with one command
MIT License
111 stars 125 forks source link

Add documentation for network config #24

Open schildbach opened 5 years ago

schildbach commented 5 years ago

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

maltokyo commented 5 years ago

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?

lukechilds commented 4 years ago

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.

schildbach commented 4 years ago

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

buzzkillb commented 4 years ago

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.

PsySc0rpi0n commented 3 years ago

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