-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose_a-8.yml
287 lines (272 loc) · 5.81 KB
/
docker-compose_a-8.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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
version: '2.4'
services:
tor:
build: ./tor/build
container_name: tor_build
restart: always
ports:
- 127.0.0.1:8050:9050
- 127.0.0.1:8051:9051
- 127.0.0.1:8118:8118
expose:
- 9050
- 9051
- 8118
volumes:
- ./tor/etc:/etc/tor
# # chown -R root ./tor/lib
- ./tor/lib:/var/lib/tor
networks:
tor:
ipv4_address: 10.6.0.10
torext:
bitcoind:
build: ./bitcoin
stop_grace_period: 5m
#command: echo "Bitcoin disabled"
restart: always
#stop_grace_period : 1m30s
#stop_signal : SIGINT
depends_on:
- tor
container_name: bitcoin_build
expose:
- 8332
- 8333
- 28332
ports:
- 8333:8333
volumes:
- ./bitcoin/bitcoin:/bitcoin
- ./tor/lib:/var/lib/tor
networks:
bitcoinint:
ipv4_address: 10.19.0.10
tor:
ipv4_address: 10.6.0.51
bitcoin:
lnd:
build: ./lnd
container_name: lnd_build
stop_grace_period: 5m
depends_on:
- bitcoind
- tor
restart: always
volumes:
- ./lnd/lnd:/lnd
- ./lnd/backup:/backup
- ./tor/lib:/var/lib/tor
networks:
- bitcoinint
- bitcoin
- tor
ports:
- 9911:9911
- 9735:9735
- 10009:10009
- 8080:8080
expose:
- 8080
rtl:
container_name: rtl_build
image: shahanafarooqui/rtl:0.11.2
restart: unless-stopped
depends_on:
- lnd
- bitcoind
volumes:
- ./rtl/RTL-Config.json:/RTL/RTL-Config.json
- ./lnd/lnd:/shared:ro
- ./lnd/backup:/backup
ports:
- 3000:3000
expose:
- 3000
environment:
PORT: 3000
# HOST: rtl
MACAROON_PATH: /shared/data/chain/bitcoin/mainnet
LN_SERVER_URL: https://lnd:8080
CONFIG_PATH: ''
LN_IMPLEMENTATION: LND
SWAP_SERVER_URL: https://lnd:8080
SWAP_MACROON_PATH: /shared/data/chain/bitcoin/mainnet
RTL_SSO: 0
RTL_COOKIE_PATH: ''
LOGOUT_REDIRECT_LINK: ''
RTL_CONFIG_PATH: /RTL
BITCOIND_CONFIG_PATH: ''
CHANNEL_BACKUP_PATH: /backup
networks:
bitcoinint:
bitcoin:
tor:
ipv4_address: 10.6.0.12
electrs:
container_name: electrs_build
image: iangregsondev/electrs
restart: unless-stopped
depends_on:
- tor
- bitcoind
# - lnd
volumes:
- ./electrs:/root
- ./bitcoin/bitcoin:/root/.bitcoin
# - ./tor/lib:/var/lib/tor
- ./electrs/electrs.toml:/etc/electrs/config.toml
# - ./electrs/build/electrs:/build/electrs
# - ./electrs/build/bitcoin:/build/bitcoin
# - ./electrs/build/:/build
ports:
- 50001:50001
# - 4224:4224
expose:
- 50001
networks:
bitcoinint:
bitcoin:
tor:
ipv4_address: 10.6.0.11
specter:
build: ./specter
container_name: specter-desktop
# image: lncm/specter-desktop:v1.7.0
depends_on:
- bitcoind
# network_mode: host
ports:
- 25441:25441
expose:
- 25441
restart: on-failure
stop_grace_period: 5m30s
environment:
BTC_RPC_USER: pratap
BTC_RPC_PASSWORD: India@2019
BTC_RPC_HOST: 10.19.0.10
BTC_RPC_PORT: 8332
BTC_RPC_PROTOCOL: http
## BTC_RPC_PROTOCOL: tcp
privileged: true
volumes:
- ./bitcoin/bitcoin:/data/.bitcoin
- ./specter:/data/.specter
# - /dev:/dev
# - /etc/udev:/etc/udev
networks:
bitcoinint:
bitcoin:
oniondb:
image: mariadb
container_name: oniondb_build
networks:
- db
volumes:
- ./oniondb:/var/lib/mysql
restart: always
expose:
- 3306
environment:
MYSQL_DATABASE: onionweb
MYSQL_USER: onionweb
MYSQL_PASSWORD: test
MYSQL_ROOT_PASSWORD: test
onionweb: #address.onion
image: wordpress
restart: always
depends_on:
- oniondb
- tor
expose:
- 80
environment:
admin: admin:pratap
WORDPRESS_DB_NAME: onionweb
WORDPRESS_DB_HOST: oniondb:3306
WORDPRESS_DB_USER: onionweb
WORDPRESS_DB_PASSWORD: test
http_proxy: http://tor:8118
https_proxy: http://tor:8118
HTTP_PROXY: http://tor:8118
HTTPS_PROXY: http://tor:8118
volumes:
- ./onionweb:/var/www/html
networks:
tor:
ipv4_address: 10.6.0.13
db:
lightningd:
build: ./lightning
container_name: lightningd_build
stop_grace_period: 5m
depends_on:
- bitcoind
- tor
expose:
- 9732
#rest plugin
- 3002
- 4001
ports:
- 9732:9732
# rest plugin
# - 127.0.0.0.1:3002:3002
# - 127.0.0.0.1:4001:4001
- 3002:3002
- 4001:4001
restart: always
volumes:
- ./lightning/lightning:/root/.lightning
- ./tor/lib:/var/lib/tor
- ./bitcoin/bitcoin:/root/.bitcoin
- ./lightning/certs:/usr/local/c-lightning-REST/certs
networks:
bitcoinint:
ipv4_address: 10.19.0.15
bitcoin:
tor:
ipv4_address: 10.6.0.14
# torext:
# ports:
# - 9911:9911
# - 9735:9735
# - 10009:10009
# - 8080:8080
#expose:
# - 8080
# lightningrd:
# image: saubyk/c-lightning-rest
# container_name: lightningr_build
# stop_grace_period: 5m
# depends_on:
# - lightningd
# expose:
# - 3002
# - 4001
# restart: always
# volumes:
# networks:
networks:
tor:
internal: true
ipam:
config:
- subnet: 10.6.0.0/16
torext:
ipam:
config:
- subnet: 10.9.0.0/16
bitcoinint:
ipam:
config:
- subnet: 10.19.0.0/16
internal: true
bitcoin:
external: true
db:
internal: true
ipam:
config:
- subnet: 10.11.0.0/16