Sign inSign up

dramirezrt/ravencoin-electrumx-server

By dramirezrt

•Updated 8 months ago

Image
0

1.9K

dramirezrt/ravencoin-electrumx-server repository overview

⁠RVN-Electrumx-docker

Repository for building a docker container from the official RVN Electrumx Server⁠

⁠Docker Hub repository

Updated images can be found in the Docker Hub Repository https://hub.docker.com/repository/docker/dramirezrt/ravencoin-electrumx-server⁠

⁠Available Tags

TagElectrumX VersionBase Image
latestv1.12.1Ubuntu 22.04
v1.12.1v1.12.1Ubuntu 22.04
v1.12.0v1.12.0Ubuntu 22.04
v1.11.0v1.11.0Ubuntu 22.04
v1.10.6v1.10.6Ubuntu 22.04
v1.10.5v1.10.5Ubuntu 22.04
v1.10.4v1.10.4Ubuntu 22.04
v1.10.3v1.10.3Ubuntu 22.04
1.10.2v1.10.2Ubuntu 18.04 (legacy)
1.10.0v1.10.0Ubuntu 18.04 (legacy)
1.9.3v1.9.3Ubuntu 18.04 (legacy)
1.9.2v1.9.2Ubuntu 18.04 (legacy)
1.9.1v1.9.1Ubuntu 18.04 (legacy)
1.9v1.9Ubuntu 18.04 (legacy)

⁠Prerequisites

  • Have access to a Raven Core Node with the following in raven.conf:
    • rpcuser and rpcpassword configured
    • # rest=1 — Enable if running an ElectrumX server. ElectrumX uses the REST API for block downloads. Without it, block syncing will fail with "Not Found" errors.
  • Docker Engine installed
  • The following directory tree under the root filesystem "/"
    1. /electrum-data
    2. /electrum-data/db
    3. /electrum-data/ssl_cert

Can be created with:

sudo mkdir -p /electrum-data/db /electrum-data/ssl_cert

⁠Usage

docker run -d \
  -v /electrum-data/:/electrum-data \
  -e DAEMON_URL="http://<user>:<password>@<ip>:<port>" \
  -p 50001:50001 \
  -p 50002:50002 \
  -p 50004:50004 \
  -p 8000:8000 \
  -e SERVICES="tcp://:50001,ssl://:50002,wss://:50004,rpc://0.0.0.0:8000" \
  --name rvn-electrumx-server \
  dramirezrt/ravencoin-electrumx-server
⁠Running a specific version
docker run -d \
  -v /electrum-data/:/electrum-data \
  -e DAEMON_URL="http://<user>:<password>@<ip>:<port>" \
  -p 50002:50002 \
  -e SERVICES="ssl://:50002" \
  --name rvn-electrumx-server \
  dramirezrt/ravencoin-electrumx-server:v1.12.1

⁠Building from source

You can build any version of the ElectrumX Ravencoin server using the TAG build argument:

docker build --build-arg TAG=v1.12.1 -t ravencoin-electrumx-server:v1.12.1 .

To build the latest release:

docker build -t ravencoin-electrumx-server:latest .

⁠Example 1

docker run -d \
  -v /electrum-data/:/electrum-data \
  -e DAEMON_URL="http://username:password@localhost" \
  -p 50002:50002 \
  -e SERVICES="ssl://:50002" \
  --name rvn-electrumx-server \
  dramirezrt/ravencoin-electrumx-server

⁠Example 2

docker run -d \
  -v /electrum-data/:/electrum-data \
  -e DAEMON_URL="http://username:password@localhost" \
  -p 50002:50002 \
  -e SERVICES="tcp://:50001,ssl://:50002" \
  -e REPORT_SERVICES="tcp://sv.usebsv.com:50001,ssl://sv.usebsv.com:50002" \
  --name rvn-electrumx-server \
  dramirezrt/ravencoin-electrumx-server

For a full list of environment variables check https://electrumx-ravencoin.readthedocs.io/en/latest/environment.html⁠

⁠Donations

RVN address: RWypyDyfiyiVmN5weG1x9xrBHtND9RsGzC

Tag summary

Content type

Image

Digest

sha256:e0c82f603…

Size

204.7 MB

Last updated

8 months ago

docker pull dramirezrt/ravencoin-electrumx-server