-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
Heavily based on https://github.com/lukechilds/docker-electrumx | ||
|
||
Pulls [Firo's Electrumx](https://github.com/firoorg/electrumx-firo) and builds it into a Dockerfile to run. | ||
|
||
Docker Compose file is available if you wish to run both firod and electrumx in Docker. | ||
|
||
## Building | ||
``` | ||
git clone | ||
git clone https://github.com/justanwar/docker-electrumx-firo | ||
cd docker-electrumx-firo | ||
docker build -t electrumx-firo . | ||
``` | ||
## Usage | ||
Standalone Electrumx: | ||
``` | ||
docker run -d \ | ||
-v /root/electrumx:/data \ | ||
-v electrumx-data:/data \ | ||
-e DAEMON_URL=http://RPCUSER:RPCPASSWORD@localhost:18888 \ | ||
-e COIN=Firo \ | ||
-p 50002:50002 \ | ||
electrumx | ||
``` | ||
|
||
If running a non-containerized firod, add `--network host` (dangerous.) | ||
Docker Compose: | ||
``` | ||
docker-compose up -d | ||
``` | ||
If running a non-containerized firod, add `--network host` (can be dangerous.) |