-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
137 lines (136 loc) · 4.19 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
version: "3"
services:
hansel:
container_name: hansel
hostname: hansel
image: bitcoininaction/hansel:latest
build:
context: .
dockerfile: Dockerfile.hansel
environment:
- BX_CONFIG=/opt/wald/bx.cfg
volumes:
- ./bitcoin-core/bin/bitcoin-cli:/usr/bin/bitcoin-cli
- ./bitcoin-core/bin/bitcoind:/usr/bin/bitcoind
- ./hansel:/root/.bitcoin
- ./wald:/opt/wald
- ./wald/vim/.vimrc:/root/.vimrc
entrypoint: /opt/wald/entrypoint.sh
working_dir: /opt/wald
ports:
- 18443:18443
- 18444:18444
gretel:
container_name: gretel
hostname: gretel
image: bitcoininaction/hansel:latest
environment:
- BX_CONFIG=/opt/wald/bx.cfg
volumes:
- ./bitcoin-core/bin/bitcoin-cli:/usr/bin/bitcoin-cli
- ./bitcoin-core/bin/bitcoind:/usr/bin/bitcoind
- ./gretel:/root/.bitcoin
- ./wald:/opt/wald
- ./wald/vim/.vimrc:/root/.vimrc
entrypoint: /opt/wald/entrypoint.sh
working_dir: /opt/wald
links:
- hansel
ports:
- 28444:18444
oz:
container_name: oz
hostname: oz
image: node
volumes:
- ./oz:/opt/emerald-city
entrypoint: ["/opt/emerald-city/entrypoint.sh"]
working_dir: /opt/emerald-city
links:
- bitcoinjs-regtest-server
- gretel
blockchain-explorer:
container_name: blockchain-explorer
hostname: blockchain-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
- 8094:80
volumes:
- ./blockchain-explorer:/data
- ./blockchain-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:
- ./bitcoinjs-regtest-server/bitcoin-data:/root/.bitcoin
- ./bitcoinjs-regtest-server/run_bitcoind_service.sh:/root/run_bitcoind_service.sh # patch to disable mining of 432 blocks...
blockchain-reader:
container_name: blockchain-reader
hostname: blockchain-reader
image: bitcoininaction/blockchain-reader
build:
context: .
dockerfile: Dockerfile.blockchain-reader
ports:
- 8080:8080 # Tomcat manager w/ user "tomcat" and pwd "tomcat" http://localhost:8080/manager/html
command: ["/opt/entrypoint.sh"]
volumes:
- ./blockchain-reader/tomcat/tomcat-users.xml:/usr/local/tomcat/conf/tomcat-users.xml
- ./blockchain-reader/tomcat/manager-webapp-context.xml:/opt/manager-webapp-context.xml
- ./blockchain-reader/entrypoint.sh:/opt/entrypoint.sh
lightningd:
container_name: lightningd
hostname: lightningd
image: bitcoininaction/lightningd:latest
build:
context: .
dockerfile: Dockerfile.lightningd
ports:
- 9735:9735
- 9737:9737
volumes:
- ./lightningd/lightning:/root/.lightning
- ./lightningd/bitcoin:/root/.bitcoin
- ./lightningd/entrypoint.sh:/opt/entrypoint.sh
- ./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
volumes:
- ./lnd/lnd-data:/root/.lnd
- ./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