-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
431 lines (412 loc) · 9.61 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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
version: "3"
services:
## Media Interfaces
# Plex Server
plex:
image: linuxserver/plex:latest
container_name: plex
hostname: plex
volumes:
- ${BASE_DIR}/plex/config:/config
- ${MEDIA_DIR}/TV:/data/tv
- ${MEDIA_DIR}/Movies:/data/movies
- ${MEDIA_DIR}/Music:/data/music
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=plex
- traefik.frontend.rule=Host:plex.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=32400
networks:
- internal
- proxied
ports:
- 32400:32400
- 32400:32400/udp
- 32469:32469
- 32469:32469/udp
- 3005:3005
- 8324:8324
- 1900:1900/udp
- 5353:5353/udp
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
restart: always
# Ubooquity
ubooquity:
image: linuxserver/ubooquity:latest
container_name: ubooquity
volumes:
- ${BASE_DIR}/ubooquity/config:/config
- ${MEDIA_DIR}/Books:/books
- ${MEDIA_DIR}/Comics:/comics
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=ubooquity
- traefik.docker.network=proxied
- traefik.frontend.rule=Host:ubooquity.${DOMAIN}
- traefik.port=2202
- traefik.default.protocol=http
- traefik.admin.frontend.rule=Host:admin-ubooquity.${DOMAIN}
- traefik.admin.port=2203
- traefil.admin.protocol=http
networks:
- internal
- proxied
expose:
- 2202
- 2203
restart: always
## /Media Interfaces
## Downloaders
# sabNZBd
sabnzbd:
image: linuxserver/sabnzbd:latest
container_name: sabnzbd
volumes:
- ${BASE_DIR}/sabnzbd/config:/config
- ${DOWNLOAD_DIR}:/downloads
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=sabnzbd
- traefik.frontend.rule=Host:sab.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=8080
networks:
- internal
- proxied
expose:
- 8080
restart: always
# NZBHydra
hydra:
image: linuxserver/hydra:latest
container_name: hydra
volumes:
- ${BASE_DIR}/hydra/config:/config
- ${BASE_DIR}/hydra/blackhole:/downloads
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=hydra
- traefik.frontend.rule=Host:hydra.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=5075
networks:
- internal
- proxied
expose:
- 5075
restart: always
jackett:
image: linuxserver/jackett:latest
container_name: jackett
volumes:
- ${BASE_DIR}/jackett/config:/config
- ${BASE_DIR}/jackett/blackhole:/downloads
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=jackett
- traefik.frontend.rule=Host:jackett.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=9117
networks:
- internal
- proxied
expose:
- 9117
restart: always
## / Downloaders
## Searchers
# Sonarr
sonarr:
image: linuxserver/sonarr:latest
container_name: sonarr
volumes:
- ${BASE_DIR}/sonarr/config:/config
- ${MEDIA_DIR}/TV:/tv
- ${DOWNLOAD_DIR}:/downloads
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=sonarr
- traefik.frontend.rule=Host:sonarr.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=8989
networks:
- internal
- proxied
expose:
- 8989
restart: always
# Radarr
radarr:
image: linuxserver/radarr:latest
container_name: radarr
volumes:
- ${BASE_DIR}/radarr/config:/config
- ${MEDIA_DIR}/Movies:/movies
- ${DOWNLOAD_DIR}:/downloads
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=radarr
- traefik.frontend.rule=Host:radarr.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=7878
networks:
- internal
- proxied
expose:
- 7878
restart: always
# Lidarr
lidarr:
image: linuxserver/lidarr:latest
container_name: lidarr
volumes:
- ${BASE_DIR}/lidarr/config:/config
- ${MEDIA_DIR}/Music:/music
- ${DOWNLOAD_DIR}:/downloads
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=lidarr
- traefik.frontend.rule=Host:lidarr.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=8686
networks:
- proxied
expose:
- 8686
restart: always
# LazyLibrarian
lazylibrarian:
image: linuxserver/lazylibrarian:latest
container_name: lazylibrarian
volumes:
- ${BASE_DIR}/lazylibrarian/config:/config
- ${MEDIA_DIR}/Books:/books
- ${DOWNLOAD_DIR}:/downloads
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=lazylibrarian
- traefik.frontend.rule=Host:librarian.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=5299
networks:
- internal
- proxied
expose:
- 5299
restart: always
# Mylar
mylar:
image: linuxserver/mylar:latest
container_name: mylar
volumes:
- ${BASE_DIR}/mylar/config:/config
- ${MEDIA_DIR}/Comics:/comics
- ${DOWNLOAD_DIR}:/downloads
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=mylar
- traefik.frontend.rule=Host:mylar.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=8090
networks:
- internal
- proxied
expose:
- 8090
restart: always
## /Searchers
## Helper Apps
# Heimdall
heimdall:
image: linuxserver/heimdall:latest
container_name: heimdall
volumes:
- ${BASE_DIR}/heimdall/config:/config
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=heimdall
- traefik.frontend.rule=Host:heimdall.${DOMAIN}
- traefik.docker.network=proxied
networks:
- internal
- proxied
expose:
- 80
- 443
restart: always
# Tautulli
tautulli:
image: tautulli/tautulli:latest
container_name: tautulli
volumes:
- ${BASE_DIR}/tautulli/config:/config
- ${BASE_DIR}/plex/config/Library/Application\ Support/Plex\ Media\ Server/Logs:/logs:ro
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=tautulli
- traefik.frontend.rule=Host:tautulli.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=8181
networks:
- proxied
- internal
expose:
- 8181
depends_on:
- plex
restart: always
# Ombi
ombi:
image: linuxserver/ombi:latest
container_name: ombi
volumes:
- ${BASE_DIR}/ombi/config:/config
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
labels:
- traefik.backend=ombi
- traefik.frontend.rule=Host:ombi.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=3579
networks:
- proxied
- internal
expose:
- 3579
depends_on:
- plex
restart: always
## /Helper Apps
## Torrenting over VPN
# Transmission - OpenVPN
transmission:
image: haugene/transmission-openvpn:latest
container_name: transmission
volumes:
- ${BASE_DIR}/transmission:/data
- ${DOWNLOAD_DIR}/complete:/data/completed
- ${DOWNLOAD_DIR}/incomplete:/data/incomplete
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=1000
- PGID=1000
- TZ=${TIMEZONE}
- OPENVPN_PROVIDER=${VPN_PROVIDER}
- OPENVPN_USERNAME=${VPN_USER}
- OPENVPN_PASSWORD=${VPN_PASS}
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
- TRANSMISSION_RPC_HOST_WHITELIST=*.${DOMAIN}
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
networks:
- vpn
expose:
- 9091
restart: always
vpn_proxy:
image: haugene/transmission-openvpn-proxy:latest
container_name: vpn_proxy
depends_on:
- transmission
links:
- transmission:transmission
labels:
- traefik.backend=vpn_proxy
- traefik.frontend.rule=Host:transmission.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=8080
networks:
- vpn
- proxied
expose:
- 8080
restart: always
## /Torrenting over VPN
## Traefik Proxy
# Traefik
traefik:
image: traefik:latest
container_name: traefik
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${BASE_DIR}/traefik/traefik.toml:/traefik.toml
- ${BASE_DIR}/traefik/acme.json:/acme.json
labels:
- traefik.backend=traefik
- traefik.frontend.rule=Host:traefik.${DOMAIN}
- traefik.docker.network=proxied
- traefik.port=8080
networks:
- proxied
- internal
ports:
- 80:80
- 443:443
expose:
- 8080
restart: always
## /Traefik Proxy
## Watchtower Updater
watchtower:
image: v2tec/watchtower:latest
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command:
- --cleanup --schedule "0 0 2 * * *"
networks:
- proxied
restart: unless-stopped
## /Watchtower Updater
# Networking config
networks:
vpn:
internal:
external: false
proxied:
external: true