Compare commits
2 Commits
7f07f29d85
...
87fe23f01a
| Author | SHA1 | Date | |
|---|---|---|---|
| 87fe23f01a | |||
| 2804141d76 |
@@ -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 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
|
RUN git clone -b $VERSION https://github.com/spesmilo/electrumx.git
|
||||||
|
|
||||||
|
|||||||
15
README.md
15
README.md
@@ -6,12 +6,15 @@ Docker image for running an Electrum server.
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run \
|
electrum:
|
||||||
-v /home/username/electrumx:/data \
|
image: git.prettyhefty.com/bill/electrumx-docker:1.16.0
|
||||||
-e DAEMON_URL=http://user:pass@host:port \
|
restart: unless-stopped
|
||||||
-e COIN=BitcoinSegwit \
|
container_name: electrum
|
||||||
-p 50002:50002 \
|
environment:
|
||||||
lukechilds/electrumx
|
- 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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user