forked from kyuupichan/electrumx
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (41 loc) · 1.01 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.5'
services:
bitcoind:
build:
context: ./docker
dockerfile: bitcoind.Dockerfile
ports:
- "8332:8332"
- "18444:18444"
entrypoint: ["bvaultd","-conf=/bitcoin/bitcoind-regtest.conf"]
labels:
io.rancher.container.pull_image: always
electrumx:
build:
context: .
dockerfile: docker/electrumx.Dockerfile
ports:
- "50001:50001"
- "50002:50002"
- "50004:50004"
- "10000:10000"
volumes:
- ./:/electrumx/
environment:
HOME: /electrumx/data
DB_DIRECTORY: /electrumx/data
DAEMON_URL: user:pass@bitcoind:8332
COIN: BitcoinVault
NET: regtest
SERVICES: tcp://:50001,ssl://:50002,wss://:50004,rpc://0.0.0.0:10000
SSL_CERTFILE: /electrumx/data/electrumx.crt
SSL_KEYFILE: /electrumx/data/electrumx.key
USE_MAX_VERSION: 0
command:
- sh
- -c
- |
cd /electrumx/
mkdir data
python setup.py install
python electrumx_server