-
Notifications
You must be signed in to change notification settings - Fork 38
/
docker-compose.yml
271 lines (256 loc) · 5.51 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
version: "3"
services:
start:
build:
context: .
dockerfile: start.dockerfile
volumes:
- my_data1:/root/.lnd
- my_data2:/root/.lnd2
networks:
default:
ipv4_address: 172.28.0.21
depends_on:
- bitcoin
- bitcoin-cash
- dogecoin
- rippled
- litecoin
- lightning
- lightning2
- geth
- ganache
- solana
test_runner:
build:
context: .
dockerfile: ./tests/docker/Dockerfile-test
volumes:
- my_data1:/root/.lnd
- my_data2:/root/.lnd2
networks:
default:
ipv4_address: 172.28.0.2
depends_on:
- bitcoin
- bitcoin-cash
- dogecoin
- rippled
- litecoin
- lightning
- lightning2
- geth
- ganache
- solana
bitcoin:
image: kajoseph/bitcoin-core:22.0
ports:
- "8333:8333"
networks:
default:
ipv4_address: 172.28.0.3
command:
-printtoconsole
-regtest=1
-txindex=1
-listen=1
-server=1
-dnsseed=0
-upnp=0
-port=8332
-rpcport=8333
-rpcallowip=172.0.0.0/8
-rpcbind=0.0.0.0
-rpcuser=cryptorpc
-rpcpassword=local321
-fallbackfee=0.0002
-zmqpubrawblock=tcp://0.0.0.0:38332
-zmqpubrawtx=tcp://0.0.0.0:38333
restart: always
bitcoin-cash:
image: zquestz/bitcoin-abc:0.21.7
ports:
- "9333:9333"
networks:
default:
ipv4_address: 172.28.0.4
command:
bitcoind
-printtoconsole
-regtest=1
-txindex=1
-listen=1
-server=1
-dnsseed=0
-upnp=0
-port=9332
-rpcport=9333
-rpcallowip="172.0.0.0/8"
-rpcbind="bitcoin-cash"
-deprecatedrpc=generate
-discover=0
-rpcuser=cryptorpc
-rpcpassword=local321
restart: always
dogecoin:
image: casperstack/dogecoin
ports:
- "22555:22555"
networks:
default:
ipv4_address: 172.28.0.6
command:
dogecoind
-printtoconsole
-regtest=1
-txindex=1
-listen=1
-server=1
-dnsseed=0
-upnp=0
-port=22555
-rpcport=22555
-rpcallowip="172.0.0.0/8"
-rpcbind="dogecoin"
-deprecatedrpc=generate
-discover=0
-rpcuser=cryptorpc
-rpcpassword=local321
restart: always
geth:
image: 0labs/geth:v1.10.21
volumes:
- ./tests/docker/geth-keystore:/keystore
ports:
- "9545:8545"
networks:
default:
ipv4_address: 172.28.0.7
command:
geth
--dev
--datadir=/home/kjoseph/nodes/dev/geth
--networkid=1337
--http
--http.api=web3,eth,debug,personal,net
--http.corsdomain='*'
--http.vhosts='*'
--http.addr=0.0.0.0
--http.port=8545
--keystore=/keystore
--allow-insecure-unlock
--unlock=00a329c0648769a73afac7f9381e08fb43dbea72
--password=/keystore/pw
ganache:
image: trufflesuite/ganache-cli:v6.12.2
ports:
- "10545:8545"
networks:
default:
ipv4_address: 172.28.0.11
command:
-m "dose youth patient boring disagree tuna random tower tornado version violin around"
-b 2
-g 20000000000
-p 8545
-a 20
rippled:
networks:
default:
ipv4_address: 172.28.0.8
build:
context: .
dockerfile: ./tests/docker/rippled.Dockerfile
litecoin:
image: uphold/litecoin-core:0.16.3
ports:
- "10333:10333"
networks:
default:
ipv4_address: 172.28.0.9
command:
-printtoconsole
-regtest=1
-txindex=1
-listen=1
-server=1
-irc=0
-dnsseed=0
-upnp=0
-port=10332
-rpcport=10333
-rpcallowip=172.0.0.0/8
-rpcbind="litecoin"
-rpcuser=cryptorpc
-rpcpassword=local321
restart: always
lightning:
image: lightninglabs/lnd:v0.14.1-beta
ports:
- "11009:11009"
volumes:
- my_data1:/root/.lnd
networks:
default:
ipv4_address: 172.28.0.5
command:
--tlsextraip=172.28.0.5
--tlsextradomain=lightning
--rpclisten=0.0.0.0:11009
--bitcoin.active
--bitcoin.regtest
--bitcoin.node=bitcoind
--bitcoind.rpchost=bitcoin:8333
--bitcoind.rpcuser=cryptorpc
--bitcoind.rpcpass=local321
--bitcoind.zmqpubrawblock=tcp://bitcoin:38332
--bitcoind.zmqpubrawtx=tcp://bitcoin:38333
restart: always
lightning2:
image: sbhat96/lnd-v0.14.1-beta:latest
ports:
- "11010:11010"
volumes:
- my_data2:/root/.lnd2
networks:
default:
ipv4_address: 172.28.0.10
command:
--lnddir=/root/.lnd2
--tlsextraip=172.28.0.10
--tlsextradomain=lightning
--rpclisten=0.0.0.0:11010
--bitcoin.active
--bitcoin.regtest
--bitcoin.node=bitcoind
--bitcoind.rpchost=bitcoin:8333
--bitcoind.rpcuser=cryptorpc
--bitcoind.rpcpass=local321
--bitcoind.zmqpubrawblock=tcp://bitcoin:38332
--bitcoind.zmqpubrawtx=tcp://bitcoin:38333
restart: always
solana:
image: solanalabs/solana:v1.10.32
networks:
default:
ipv4_address: 172.28.0.12
build:
context: .
dockerfile: ./tests/docker/solana.Dockerfile
ports:
- "8899:8899"
- "8900:8900"
environment:
- RUST_LOG=solana=info
volumes:
my_data1:
driver: local
my_data2:
driver: local
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.28.0.0/16