Run an Electrum server with one command
Go to file
Vivek Teega 134cd34343
Some checks failed
Build on master push / Build Docker image (push) Has been cancelled
Updare README.md for FLO
2021-12-10 16:54:59 +05:30
.github Automate multi arch builds on GitHub Actions (#65) 2021-10-12 22:08:37 +01:00
bin Upgrade to ElectrumX 1.8.7 (#10) 2019-01-29 21:48:05 +07:00
Dockerfile Removed extra checkout command 2021-12-10 16:43:26 +05:30
LICENSE Initial commit 2017-09-19 16:46:51 +01:00
README.md Updare README.md for FLO 2021-12-10 16:54:59 +05:30

docker-electrumx

Build Status Image Layers Docker Pulls GitHub Donate Bitcoin Donate Lightning Donate

Run an Electrum server with one command

An easily configurable Docker image for running an Electrum server.

Usage

Create a Docker volume to store the data, and then run the container

docker volume create electrumx

docker run \
  -d --network="host"
  -v electrumx:/data \
  -e DAEMON_URL=http://user:pass@127.0.0.1:7313 \
  -e COIN=FLO \
  ranchimallfze/electrumx

If there's an SSL certificate/key (electrumx.crt/electrumx.key) in the /data volume it'll be used. If not, one will be generated for you.

You can view all ElectrumX environment variables here: https://github.com/spesmilo/electrumx/blob/master/docs/environment.rst

TCP Port

By default only the SSL port is exposed. You can expose the unencrypted TCP port with -p 50001:50001, although this is strongly discouraged.

WebSocket Port

You can expose the WebSocket port with -p 50004:50004.

RPC Port

To access RPC from your host machine, you'll also need to expose port 8000. You probably only want this available to localhost: -p 127.0.0.1:8000:8000.

If you're only accessing RPC from within the container, there's no need to expose the RPC port.

Version

Note - this feature is to be finished for RanchiMall's FLO version

You can also run a specific version of ElectrumX if you want.

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

License

MIT © Luke Childs