From 4ed5d8c90aff2045c08f4fa4733441e9f6104094 Mon Sep 17 00:00:00 2001 From: justanwar <42809091+justanwar@users.noreply.github.com> Date: Wed, 4 Dec 2024 13:17:26 +0800 Subject: [PATCH] Update Readme --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 62737b3..fa9c56c 100644 --- a/README.md +++ b/README.md @@ -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.) \ No newline at end of file +Docker Compose: +``` +docker-compose up -d +``` +If running a non-containerized firod, add `--network host` (can be dangerous.) \ No newline at end of file