-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
111 lines (110 loc) · 3.39 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "3"
services:
hansel:
container_name: hansel # bitcoin core node
hostname: hansel
image: massmux/bitcoincore:v0.21.0
environment:
- BX_CONFIG=/opt/nodeworkdir/bx.cfg
volumes:
- ${PWD}/hansel:/data/.bitcoin
- ${PWD}/nodeworkdir:/opt/nodeworkdir
working_dir: /opt/nodeworkdir
ports:
- 18443:18443
- 18444:18444
gretel:
container_name: gretel # bitcoin core node
hostname: gretel
image: massmux/bitcoincore:v0.21.0
environment:
- BX_CONFIG=/opt/nodeworkdir/bx.cfg
volumes:
- ${PWD}/gretel:/data/.bitcoin
- ${PWD}/nodeworkdir:/opt/nodeworkdir
working_dir: /opt/nodeworkdir
links:
- hansel
ports:
- 28444:18444
oz:
container_name: oz
hostname: oz
image: massmux/bitcoincore:v0.21.0
volumes:
- ${PWD}/oz:/opt/emerald-city
entrypoint: ["/opt/emerald-city/entrypoint.sh"]
working_dir: /opt/emerald-city
links:
- bitcoinjs-regtest-server
- gretel
explorer:
container_name: explorer
hostname: explorer
image: blockstream/esplora
environment:
- DISABLE_TOR=1 # blockchain-exporer/runs.sh#L37-L45
- DISABLE_GENERATETOADDRESS=1 # blockchain-exporer/runs.sh#L256-L263
ports:
- 50001:50001 # port for connecting electrum, outside connection allowed
- 8094:80 # port for block explorer, outside connection allowed
volumes:
- ${PWD}/explorer:/data
- ${PWD}/explorer/run.sh:/srv/explorer/run.sh # patch to disable Tor and auto mining of 100 blocks...
command: ['/srv/explorer/run.sh', 'bitcoin-regtest', 'explorer']
links:
- gretel
bitcoinjs-regtest-server:
container_name: bitcoinjs-regtest-server
hostname: bitcoinjs-regtest-server
image: junderw/bitcoinjs-regtest-server
# uncomment if you want to connect
# bitcoinjs-lib from outside
#ports:
# - 8888:8080
links:
- hansel
volumes:
- ${PWD}/bitcoinjs-regtest-server/bitcoin-data:/root/.bitcoin
- ${PWD}/bitcoinjs-regtest-server/run_bitcoind_service.sh:/root/run_bitcoind_service.sh # patch to disable mining of 432 blocks...
lightningd:
container_name: lightningd
hostname: lightningd
image: elementsproject/lightningd
depends_on: [ hansel, gretel ]
ports:
- 9735:9735
- 9737:9737 #spark wallet, outside connection allowed
volumes:
- ${PWD}/lightningd/lightning:/root/.lightning
- ${PWD}/lightningd/bitcoin:/root/.bitcoin
- ${PWD}/lightningd/entrypoint.sh:/opt/entrypoint.sh
- ${PWD}/lightningd/spark-wallet:/root/.spark-wallet
links:
- hansel
entrypoint: /opt/entrypoint.sh
lnd:
container_name: lnd
hostname: lnd
image: lightninglabs/lnd:v0.12.1-beta
depends_on: [ hansel, gretel ]
volumes:
- ${PWD}/lnd/lnd-data:/root/.lnd
- ${PWD}/lnd/entrypoint.sh:/opt/entrypoint.sh
entrypoint: ["/opt/entrypoint.sh"]
environment:
- NETWORK=regtest
- CHAIN=bitcoin
- BACKEND=bitcoind
- RPCUSER=gretel
- RPCPASS=1337
- HOSTNAME=0.0.0.0
- BACKEND_RPC_HOST=gretel
- BACKEND_ZMQPUBRAWBLOCK=tcp://gretel:38444
- BACKEND_ZMQPUBRAWTX=tcp://gretel:48444
ports:
- 10009:10009
- 19735:9735
links:
- gretel
- lightningd