Compare commits

...

3 Commits

Author SHA1 Message Date
Vivek Teega
134cd34343 Updare README.md for FLO
Some checks failed
Build on master push / Build Docker image (push) Has been cancelled
2021-12-10 16:54:59 +05:30
Vivek Teega
224ee03a4c Removed extra checkout command 2021-12-10 16:43:26 +05:30
Vivek Teega
1e65ac24f7 Change the electrum repository to RanchiMall's docker-image branch 2021-12-10 10:53:22 +00:00
2 changed files with 14 additions and 8 deletions

View File

@ -12,9 +12,8 @@ RUN chmod a+x /usr/local/bin/* && \
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.11/main leveldb-dev && \
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing rocksdb-dev && \
pip install aiohttp pylru plyvel websockets python-rocksdb uvloop && \
git clone -b $VERSION https://github.com/ranchimall/electrumx.git && \
git clone -b docker-image https://github.com/ranchimall/electrumx.git && \
cd electrumx && \
git checkout 01a3cbefd631511b373841b06e9e1599b4d785ca && \
python setup.py install && \
apk del git build-base && \
rm -rf /tmp/*

View File

@ -14,13 +14,18 @@ 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 \
-v /home/username/electrumx:/data \
-e DAEMON_URL=http://user:pass@host:port \
-e COIN=BitcoinSegwit \
-p 50002:50002 \
lukechilds/electrumx
-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.
@ -43,6 +48,8 @@ If you're only accessing RPC from within the container, there's no need to expos
### 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.
```