This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
forked from lnbits/legend-regtest-enviroment
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
253 lines (242 loc) · 5.6 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
services:
boltz:
hostname: boltz
depends_on:
- db
- lnd-2
- elementsd
- bitcoind
- anvil
restart: always
image: boltz/boltz:v3.7.2
ports:
- 9000:9000
- 9001:9001
volumes:
- ./data/lnd-2:/data/lnd/
- ./data/boltz/:/root/.boltz/
- ./data/elements/:/root/.elements/
volumes_from:
- bitcoind:ro
boltz-client:
hostname: boltz-client
depends_on:
- clightning-2
- boltz
restart: always
image: boltz/boltz-client:latest
ports:
- 9002:9002
- 9003:9003
volumes:
- ./data/clightning-2:/root/.lightning/
- ./data/boltz-client/:/root/.boltz/
- ./data/elements/:/root/.elements/
db:
hostname: postgres
image: postgres
restart: always
environment:
POSTGRES_USER: boltz
POSTGRES_PASSWORD: boltz
POSTGRES_DB: boltz
expose:
- 5432:5432
anvil:
hostname: anvil
image: ghcr.io/foundry-rs/foundry:nightly-293fad73670b7b59ca901c7f2105bf7a29165a90
command:
- anvil --host 0.0.0.0
ports:
- 8545:8545
bitcoind:
hostname: bitcoind
restart: always
image: boltz/bitcoin-core:24.0.1
command:
- -regtest
- -fallbackfee=0.00000253
- -zmqpubrawtx=tcp://0.0.0.0:29000
- -zmqpubrawblock=tcp://0.0.0.0:29001
- -txindex
- -rpcallowip=0.0.0.0/0
- -rpcbind=0.0.0.0
expose:
- 18444
ports:
- 18443:18443
- 29000:29000
- 29001:29001
volumes:
- ./data/bitcoin:/root/.bitcoin
elementsd:
hostname: elements
restart: always
image: ghcr.io/vulpemventures/elements:22.1.1
depends_on:
- bitcoind
expose:
- 31001
ports:
- 31000:31000
- 31002:31002
- 18884:18884
volumes:
- ./data/elements/elements.conf:/home/elements/.elements/elements.conf
clightning-1:
hostname: clightning-1
restart: always
depends_on:
- bitcoind
image: boltz/c-lightning:23.08.1
command:
- --large-channels
- --network
- regtest
- --bind-addr=0.0.0.0:9735
- --bitcoin-rpcconnect=bitcoind
- --bitcoin-rpcport=18443
- --grpc-port=9736
- --dev-bitcoind-poll=3
- --dev-fast-gossip
- --experimental-offers
- --experimental-dual-fund
expose:
- 9735
ports:
- 9736:9736
volumes:
- ./data/clightning-1:/root/.lightning/
volumes_from:
- bitcoind:ro
clightning-2:
hostname: clightning-2
restart: always
depends_on:
- bitcoind
image: boltz/c-lightning:23.08.1
command:
- --large-channels
- --network
- regtest
- --bind-addr=0.0.0.0:9735
- --bitcoin-rpcconnect=bitcoind
- --bitcoin-rpcport=18443
- --grpc-port=9736
- --dev-bitcoind-poll=3
- --dev-fast-gossip
- --experimental-offers
- --experimental-dual-fund
expose:
- 9735
- 9736
volumes:
- ./data/clightning-2:/root/.lightning/
volumes_from:
- bitcoind:ro
lnd-1:
hostname: lnd-1
depends_on:
- bitcoind
image: boltz/lnd:0.17.0-beta
restart: always
command:
- --listen=lnd-1:9735
- --rpclisten=lnd-1:10009
- --restlisten=lnd-1:8081
- --bitcoin.active
- --bitcoin.regtest
- --bitcoin.node=bitcoind
- --bitcoind.rpchost=bitcoind
- --bitcoind.zmqpubrawtx=bitcoind:29000
- --bitcoind.zmqpubrawblock=bitcoind:29001
- --bitcoind.rpccookie=/root/.bitcoin/regtest/.cookie
- --noseedbackup
- --protocol.wumbo-channels
expose:
- 8081
- 9735
- 10009
ports:
- 8081:8081
- 10009:10009
volumes:
- ./data/lnd-1:/root/.lnd/
volumes_from:
- bitcoind:ro
lnd-2:
hostname: lnd-2
depends_on:
- bitcoind
image: boltz/lnd:0.17.0-beta
restart: on-failure
command:
- --listen=lnd-2:9735
- --rpclisten=lnd-2:10009
- --restlisten=lnd-2:8081
- --bitcoin.active
- --bitcoin.regtest
- --bitcoin.node=bitcoind
- --bitcoind.rpchost=bitcoind
- --bitcoind.zmqpubrawtx=bitcoind:29000
- --bitcoind.zmqpubrawblock=bitcoind:29001
- --bitcoind.rpccookie=/root/.bitcoin/regtest/.cookie
- --noseedbackup
- --protocol.wumbo-channels
expose:
- 8081
- 9735
ports:
- 11009:10009
volumes:
- ./data/lnd-2:/root/.lnd/
volumes_from:
- bitcoind:ro
electrs:
hostname: electrs
restart: always
image: blockstream/esplora:electrs-cd9f90c115751eb9d2bca9a4da89d10d048ae931
entrypoint: ./electrs_bitcoin/bin/electrs
command:
- --electrum-rpc-addr
- electrs:19001
- --http-addr
- electrs:3002
- --daemon-rpc-addr
- bitcoind:18443
- --network
- regtest
- --jsonrpc-import
- -vvvv
ports:
- 19001:19001
- 3002:3002
volumes:
- ./data/bitcoin:/app/.bitcoin
electrs-liquid:
hostname: electrs-liquid
restart: always
image: blockstream/esplora:electrs-cd9f90c115751eb9d2bca9a4da89d10d048ae931
entrypoint: ./electrs_liquid/bin/electrs
command:
- --electrum-rpc-addr
- electrs-liquid:19002
- --http-addr
- electrs-liquid:3003
- --daemon-rpc-addr
- elementsd:18884
- --daemon-dir
- /home/elements/.elements
- --cookie
- regtest:regtest
- --network
- liquidregtest
- --parent-network
- regtest
- --jsonrpc-import
- -vvvv
ports:
- 19002:19002
- 3003:3003
volumes:
- ./data/elements:/home/elements/.elements