forked from ElementsProject/peerswap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
188 lines (187 loc) · 3.83 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
version: '3'
services:
# RPC daemons
bitcoin:
image: ghcr.io/vulpemventures/bitcoin:latest
networks:
local:
ipv4_address: 10.10.1.10
ports:
- 18443:19001
- 29000:29000
- 29001:29001
volumes:
- ./config/:/home/bitcoin/.bitcoin/
restart: unless-stopped
liquid:
image: ghcr.io/vulpemventures/elements:latest
networks:
local:
ipv4_address: 10.10.1.11
ports:
- 18884:18884
- 18886:18886
volumes:
- ./liquid-config/:/home/elements/.elements/
restart: unless-stopped
liquid2:
image: ghcr.io/vulpemventures/elements:latest
networks:
local:
ipv4_address: 10.10.1.18
ports:
- 18885:18884
- 18887:18886
volumes:
- ./liquid-config2/:/home/elements/.elements/
restart: unless-stopped
# Block explorer REST servers
electrs:
image: ghcr.io/vulpemventures/electrs:latest
entrypoint:
- /build/electrs
command:
- -vvvv
- --network
- regtest
- --daemon-dir
- /config
- --daemon-rpc-addr
- 10.10.1.10:19001
- --cookie
- admin1:123
- --http-addr
- 0.0.0.0:3002
- --electrum-rpc-addr
- 0.0.0.0:60401
- --cors
- "*"
networks:
local:
ipv4_address: 10.10.1.12
links:
- bitcoin
depends_on:
- bitcoin
ports:
- 60401:60401
- 3002:3002
volumes:
- ./config/:/config
restart: unless-stopped
electrs-liquid:
image: ghcr.io/vulpemventures/electrs-liquid:latest
entrypoint:
- /build/electrs
command:
- -vvvv
- --parent-network
- regtest
- --network
- liquidregtest
- --daemon-dir
- /config
- --daemon-rpc-addr
- 10.10.1.11:18884
- --cookie
- admin1:123
- --http-addr
- 0.0.0.0:3002
- --electrum-rpc-addr
- 0.0.0.0:60401
- --cors
- "*"
networks:
local:
ipv4_address: 10.10.1.13
links:
- liquid
depends_on:
- liquid
ports:
- 20401:60401
- 2932:3002
volumes:
- ./liquid-config/:/config
restart: unless-stopped
# Chopsticks
chopsticks:
image: ghcr.io/vulpemventures/nigiri-chopsticks:latest
command:
- --use-faucet
- --use-mining
- --use-logger
- --rpc-addr
- 10.10.1.10:19001
- --electrs-addr
- 10.10.1.12:3002
- --addr
- 0.0.0.0:3000
links:
- electrs
- bitcoin
depends_on:
- electrs
ports:
- 3000:3000
networks:
local:
ipv4_address: 10.10.1.16
restart: unless-stopped
chopsticks-liquid:
image: ghcr.io/vulpemventures/nigiri-chopsticks:latest
command:
- --use-faucet
- --use-mining
- --use-logger
- --rpc-addr
- 10.10.1.11:18884
- --electrs-addr
- 10.10.1.13:3002
- --addr
- 0.0.0.0:3000
- --chain
- liquid
links:
- electrs-liquid
- liquid
depends_on:
- electrs-liquid
ports:
- 3001:3000
networks:
local:
ipv4_address: 10.10.1.17
restart: unless-stopped
esplora:
image: ghcr.io/vulpemventures/esplora:latest
container_name: esplora
networks:
local:
ipv4_address: 10.10.1.28
depends_on:
- chopsticks
environment:
API_URL: http://localhost:3000
ports:
- 5000:5000
restart: unless-stopped
esplora-liquid:
image: ghcr.io/vulpemventures/esplora:latest
container_name: esplora-liquid
networks:
local:
ipv4_address: 10.10.1.29
depends_on:
- chopsticks-liquid
environment:
API_URL: http://localhost:3001
ports:
- 5001:5000
restart: unless-stopped
networks:
local:
driver: bridge
ipam:
config:
- subnet: 10.10.1.0/24