32 lines
1.0 KiB
Markdown
32 lines
1.0 KiB
Markdown
|
|
# docker-electrumx
|
|
|
|
[](https://travis-ci.org/lukechilds/docker-electrumx)
|
|
[](https://microbadger.com/images/lukechilds/electrumx)
|
|
[](https://hub.docker.com/r/lukechilds/electrumx/)
|
|
|
|
> Run an Electrum server with one command
|
|
|
|
An easily configurable Docker image for running an Electrum server.
|
|
|
|
## Usage
|
|
|
|
```
|
|
docker run \
|
|
-v /home/username/electrumx:/data \
|
|
-e DAEMON_URL=http://user:pass@host:port \
|
|
-e COIN=Bitcoin \
|
|
-p 50002:50002 \
|
|
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.
|
|
|
|
### 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.
|
|
|
|
## License
|
|
|
|
MIT © Luke Childs
|