Compare commits
2 Commits
master
...
mutli-arch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8edee25d03 | ||
|
|
3da7e9d132 |
@ -12,7 +12,7 @@ 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/v3.11/main leveldb-dev && \
|
||||||
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing rocksdb-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 && \
|
pip install aiohttp pylru plyvel websockets python-rocksdb uvloop && \
|
||||||
git clone -b docker-image https://github.com/ranchimall/electrumx.git && \
|
git clone -b $VERSION https://github.com/spesmilo/electrumx.git && \
|
||||||
cd electrumx && \
|
cd electrumx && \
|
||||||
python setup.py install && \
|
python setup.py install && \
|
||||||
apk del git build-base && \
|
apk del git build-base && \
|
||||||
|
|||||||
17
README.md
17
README.md
@ -14,18 +14,13 @@ An easily configurable Docker image for running an Electrum server.
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Create a Docker volume to store the data, and then run the container
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
docker volume create electrumx
|
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
-d --network="host"
|
-v /home/username/electrumx:/data \
|
||||||
-v electrumx:/data \
|
-e DAEMON_URL=http://user:pass@host:port \
|
||||||
-e DAEMON_URL=http://user:pass@127.0.0.1:7313 \
|
-e COIN=BitcoinSegwit \
|
||||||
-e COIN=FLO \
|
-p 50002:50002 \
|
||||||
ranchimallfze/electrumx
|
lukechilds/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.
|
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.
|
||||||
@ -48,8 +43,6 @@ If you're only accessing RPC from within the container, there's no need to expos
|
|||||||
|
|
||||||
### Version
|
### 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.
|
You can also run a specific version of ElectrumX if you want.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user