Compare commits

...

2 Commits

Author SHA1 Message Date
87fe23f01a Updated docker usage
Some checks failed
Build / build (push) Failing after 3m1s
2024-09-17 21:44:32 -04:00
2804141d76 Changed rocksdb package 2024-09-17 21:43:37 -04:00
2 changed files with 10 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ RUN apt-get update
RUN apt-get -y install git python3.10 python3-pip librocksdb-dev libsnappy-dev libbz2-dev libz-dev liblz4-dev
RUN pip3 install multidict aiohttp pylru rocksdb
RUN pip3 install multidict aiohttp pylru python-rocksdb
RUN git clone -b $VERSION https://github.com/spesmilo/electrumx.git

View File

@@ -6,12 +6,15 @@ 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=BitcoinSegwit \
-p 50002:50002 \
lukechilds/electrumx
electrum:
image: git.prettyhefty.com/bill/electrumx-docker:1.16.0
restart: unless-stopped
container_name: electrum
environment:
- COIN=Bitcoin
- DAEMON_URL=username:password@bitcoin-core
volumes:
- ${DATA_DIR}/electrum:/db
```
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.