Dockerfile for BitCraft's ElectrumX on Ubuntu with leveldb and daemontools.
git clone https://github.com/BitCraftIO/electrumx-docker.git
cd electrumx-docker
Then,Edit env/COIN
to your coin.
Edit env/DAEMON_URL
accordingly.Need to match your daemon.
For AltCoins,edit your coin class in env/coins.py
.env/coins.py
will be append to electrumx/lib/coins.py
Leave others defaults
Build your docker image:
docker build -t electrumx .
docker run -v -idt electrumx
Thanks for suggestions from: