forked from andgohq/electrumx-regtest
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
38 lines (37 loc) · 854 Bytes
/
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
version: '2'
services:
bitcoind:
image: andgohq/bitcoind
build: "./bitcoind"
ports:
# faucet api
- "3001:3000"
expose:
# rpc api
- "18443"
volumes:
- ./data/bitcoind:/home/bitcoin/.bitcoin
electrumx:
image: andgohq/electrumx:1.8.7
depends_on:
- "bitcoind"
command: ["wait-for-it.sh", "bitcoind:3000", "--", "init"]
ports:
- "55002:50002"
- "55001:50001"
expose:
- "50001"
- "50002"
volumes:
- ./data/electrumx:/data
environment:
# bitcoind is valid
- DAEMON_URL=http://electrum:electrum@bitcoind:18443
- COIN=BitcoinSegwit
- NET=regtest
# 127.0.0.1 or electrumx is valid for RPC_HOST
- RPC_HOST=electrumx
- RPC_PORT=18443
- HOST=electrumx
- TCP_PORT=50001
- SSL_PORT=50002