Skip to content

peercoin/electrumx-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electrumx-docker

Image Layers Docker Pulls

An easily configurable Docker image for running an Electrum server.

Build locally (optional)

docker build --no-cache -t electrumx:latest .

Run

Make sure your local docker and docker-compose installation can handle docker-compose syntax 3.5. This basically means: "run latest code".

mkdir -p /opt/electrum/{peercoin,db}

docker-compose up -d

or

docker run \
  -v $HOME/electrumx:/data \
  -e DAEMON_URL=user:pass@host \
  -e COIN=Peercoin \
  -p 50002:50002 \
  peercoin/electrumx

Tweak

Edit "environment" sections of peercoind and electrumx in docker-compose.yml to setup the ElectrumX daemon. Note: Your electrumx DAEMON_URL must end in @peercoind e. g. DAEMON_URL=USER:PASS@peercoind

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