Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for network config #24

Open
schildbach opened this issue Apr 27, 2019 · 5 comments
Open

Add documentation for network config #24

schildbach opened this issue Apr 27, 2019 · 5 comments
Assignees

Comments

@schildbach
Copy link

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).
@maltokyo
Copy link

maltokyo commented Nov 9, 2019

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
Copy link
Owner

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 lukechilds self-assigned this Nov 16, 2019
@schildbach
Copy link
Author

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

@buzzkillb
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants