-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
330 lines (320 loc) · 8.35 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
name: servarr
services:
# Media server
plex:
image: lscr.io/linuxserver/plex:latest
container_name: plex
environment:
- PUID=13001
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
- VERSION=public
devices:
- /dev/dri:/dev/dri
volumes:
- /home/nathan/servarr/config/plex-config:/config
- /mnt/data/media:/data/media
- /dev/shm:/transcode
ports:
- 32400:32400 # enable local access
restart: always
# Media requests
overseerr:
image: lscr.io/linuxserver/overseerr:latest
container_name: overseerr
environment:
- PUID=13002
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
volumes:
- /home/nathan/servarr/config/overseerr-config:/config
# ports:
# - 5055:5055
restart: always
# Media monitoring
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
network_mode: service:gluetun
depends_on:
- gluetun
environment:
- PUID=13003
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
volumes:
- /home/nathan/servarr/config/sonarr-config:/config
- /mnt/data:/data
restart: always
4ksonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: 4ksonarr
network_mode: service:gluetun
depends_on:
- gluetun
environment:
- PUID=13003
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
volumes:
- /home/nathan/servarr/config/4ksonarr-config:/config
- /mnt/data:/data
restart: always
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
network_mode: service:gluetun
depends_on:
- gluetun
environment:
- PUID=13004
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
volumes:
- /home/nathan/servarr/config/radarr-config:/config
- /mnt/data:/data
restart: always
4kradarr:
image: lscr.io/linuxserver/radarr:latest
container_name: 4kradarr
network_mode: service:gluetun
depends_on:
- gluetun
environment:
- PUID=13004
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
volumes:
- /home/nathan/servarr/config/4kradarr-config:/config
- /mnt/data:/data
restart: always
# Subtitles
bazarr:
image: lscr.io/linuxserver/bazarr:latest
container_name: bazarr
network_mode: service:gluetun
depends_on:
- gluetun
environment:
- PUID=13005
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
volumes:
- /home/nathan/servarr/config/bazarr-config:/config
- /mnt/data/media:/data/media
restart: always
4kbazarr:
image: lscr.io/linuxserver/bazarr:latest
container_name: 4kbazarr
network_mode: service:gluetun
depends_on:
- gluetun
environment:
- PUID=13005
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
volumes:
- /home/nathan/servarr/config/4kbazarr-config:/config
- /mnt/data/media:/data/media
restart: always
# Media download
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
network_mode: service:gluetun
depends_on:
- gluetun
environment:
- PUID=13006
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
volumes:
- /home/nathan/servarr/config/prowlarr-config:/config
restart: always
flaresolverr:
image: ghcr.io/flaresolverr/flaresolverr:latest
container_name: flaresolverr
network_mode: service:gluetun
environment:
- TZ=Australia/Brisbane
restart: always
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
network_mode: service:gluetun
depends_on:
- gluetun
environment:
- PUID=13007
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
- WEBUI_PORT=8080
- TORRENTING_PORT=24242
volumes:
- /home/nathan/servarr/config/qbittorrent-config:/config
- /mnt/data/torrents:/data/torrents
restart: always
# Media management
maintainerr:
image: ghcr.io/jorenn92/maintainerr:latest
container_name: maintainerr
user: 13008:13000
volumes:
- /home/nathan/servarr/config/maintainerr-config:/opt/data
environment:
- TZ=Australia/Brisbane
# ports:
# - 6246:6246
restart: always
# 4kmaintainerr:
# image: ghcr.io/jorenn92/maintainerr:latest
# container_name: 4kmaintainerr
# user: 13008:13000
# volumes:
# - /home/nathan/servarr/config/4kmaintainerr-config:/opt/data
# environment:
# - TZ=Australia/Brisbane
# # ports:
# # - 6246:6246
# restart: always
# User management
tautulli:
image: lscr.io/linuxserver/tautulli:latest
container_name: tautulli
depends_on:
- plex
environment:
- PUID=13009
- PGID=13000
- UMASK=002
- TZ=Australia/Brisbane
volumes:
- /home/nathan/servarr/config/tautulli-config:/config
# ports:
# - 8181:8181
restart: always
wizarr:
image: ghcr.io/wizarrrr/wizarr:latest
container_name: wizarr
volumes:
- /home/nathan/servarr/config/wizarr-config:/data/database
# ports:
# - 5690:5690
restart: always
# Networking
cloudflared:
image: cloudflare/cloudflared:latest
labels: ["com.centurylinklabs.watchtower.scope=cloudflared"]
command: tunnel run --protocol http2
environment:
- TUNNEL_TOKEN=${TUNNEL_TOKEN}
deploy:
mode: replicated
replicas: 2
update_config:
parallelism: 1
restart: always
gluetun:
image: qmcgaw/gluetun:v3
container_name: gluetun
devices:
- /dev/net/tun:/dev/net/tun
volumes:
- /home/nathan/servarr/config/gluetun-config:/gluetun
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=airvpn
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=${GLUETUN_PRIVATE_KEY}
- WIREGUARD_PRESHARED_KEY=${GLUETUN_PRESHARED_KEY}
- WIREGUARD_ADDRESSES=10.155.80.253/32
- SERVER_CITIES=Vancouver
- FIREWALL_VPN_INPUT_PORTS=24242
- HEALTH_VPN_DURATION_INITIAL=60s
- TZ=Australia/Brisbane
# ports:
# - 8191:8191 # flaresolverr
# - 8989:8989 # sonarr
# - 8988:8988 # 4ksonarr
# - 7878:7878 # radarr
# - 7877:7877 # 4kradarr
# - 6767:6767 # bazarr
# - 6766:6766 # 4kbazarr
# - 9696:9696 # prowlarr
# - 8080:8080 # qbittorrent
# - 24242:24242 # qbittorrent
# - 24242:24242/udp # qbittorrent
restart: always
# Container updates
watchtower-cloudflared:
image: containrrr/watchtower:latest
labels: ["com.centurylinklabs.watchtower.scope=cloudflared"]
container_name: watchtower-cloudflared
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_REMOVE_VOLUMES=true
- WATCHTOWER_SCOPE=cloudflared
- WATCHTOWER_SCHEDULE=0 30 9 * * *
- WATCHTOWER_ROLLING_RESTART=true
restart: always
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_REMOVE_VOLUMES=true
- WATCHTOWER_SCOPE=none
- WATCHTOWER_SCHEDULE=0 30 9 * * *
restart: always
# Backups
kopia:
image: kopia/kopia:latest
container_name: kopia
# ports:
# - 51515:51515
command:
- server
- start
- --disable-csrf-token-checks
- --insecure
- --address=0.0.0.0:51515
- --server-username=nathan
- --server-password=${KOPIA_PASSWORD}
volumes:
- /mnt/kopia:/tmp:shared
- /home/nathan/kopia/config:/app/config
- /home/nathan/kopia/cache:/app/cache
- /home/nathan/kopia/logs:/app/logs
- /home/nathan/servarr/config:/data:ro
environment:
KOPIA_PASSWORD: ${KOPIA_PASSWORD}
TZ: Australia/Brisbane
USER: "nathan"
restart: "always"
# Web monitoring
uptime-kuma:
image: louislam/uptime-kuma:latest
container_name: uptime-kuma
volumes:
- /home/nathan/uptime-kuma/data:/app/data
- /var/run/docker.sock:/var/run/docker.sock
# ports:
# - 3001:3001
restart: always