Skip to content

dramirezRT/RVN-Electrumx-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Tag ElectrumX Version Base Image
latest v1.12.1 Ubuntu 22.04
v1.12.1 v1.12.1 Ubuntu 22.04
v1.12.0 v1.12.0 Ubuntu 22.04
v1.11.0 v1.11.0 Ubuntu 22.04
v1.10.6 v1.10.6 Ubuntu 22.04
v1.10.5 v1.10.5 Ubuntu 22.04
v1.10.4 v1.10.4 Ubuntu 22.04
v1.10.3 v1.10.3 Ubuntu 22.04
1.10.2 v1.10.2 Ubuntu 18.04 (legacy)
1.10.0 v1.10.0 Ubuntu 18.04 (legacy)
1.9.3 v1.9.3 Ubuntu 18.04 (legacy)
1.9.2 v1.9.2 Ubuntu 18.04 (legacy)
1.9.1 v1.9.1 Ubuntu 18.04 (legacy)
1.9 v1.9 Ubuntu 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

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors