This repository has been archived by the owner on Jun 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
executable file
·336 lines (322 loc) · 10.8 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
version: '3.4'
services:
rclone:
image: makeshift27015/rclone:${tag:-latest}
restart: unless-stopped
network_mode: "host"
security_opt:
- apparmor:unconfined
devices:
- "/dev/fuse:/dev/fuse"
environment:
DEBUG: ${debug:-false}
ItemsPerUpload: 5000
MaxGbPerUpload: 250
CacheSizePerMountGb: 10
MountCommands: " \
--allow-other \
--allow-non-empty \
--umask 000 \
--uid ${uid:-65534} \
--gid ${gid:-65534} \
-v \
--timeout 1h \
--checkers 12 \
--buffer-size 16M \
--transfers 12 \
--use-mmap \
--vfs-cache-mode ${rclone_download_vfs_cache_mode:-writes} \
--poll-interval 10m \
--attr-timeout 10m \
--dir-cache-time 20s \
--vfs-read-chunk-size 1M \
--vfs-read-chunk-size-limit 4G \
--vfs-cache-poll-interval 20s \
--vfs-cache-max-age 1h \
--vfs-cache-max-size 100G \
--stats 1m \
--stats-one-line \
--stats-log-level NOTICE \
-P \
--cache-dir=/shared/caches/rclone_vfs/ \
--low-level-retries 3 \
--multi-thread-cutoff 25M \
--multi-thread-streams 8 \
--no-update-modtime \
--rc-addr=0.0.0.0:5572 \
--rc-user admin \
--rc-pass admin \
--rc-enable-metrics \
--rc"
env_file:
- ./rclone.env
cap_add:
- SYS_ADMIN
volumes:
- ./rclone_conf:/rclone_conf:ro
- ./shared:/shared:rshared
- ./service_accounts:/service_accounts:ro
- ./logs:/logs
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_rclone:-false}
deploy:
replicas: ${rclone_enabled:-1}
nzbhydra:
image: makeshift27015/nzbhydra2:${tag:-latest}
restart: unless-stopped
network_mode: "host"
volumes:
- ./runtime_conf/nzbhydra:/config
environment:
TZ: Etc/UTC
DEBUG: ${debug:-false}
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_nzbhydra:-true}
- proxy.hosts=nzbhydra.${domain},nzbhydra.local.${domain},nzbhydra.public.${domain}
- proxy.port=5076
deploy:
replicas: ${nzbhydra_enabled:-1}
radarr:
image: makeshift27015/radarr:${tag:-latest}
restart: unless-stopped
network_mode: "host"
depends_on:
- rclone
volumes:
- /etc/localtime:/etc/localtime:ro
- ./runtime_conf/radarr:/config
- ./shared:/shared:rshared
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
PUID: ${uid:-65534}
PGID: ${gid:-65534}
UMASK: 000
DO_AUTO_MANUAL_IMPORT: ${do_auto_manual_import_radarr:-false}
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_radarr:-true}
- proxy.hosts=radarr.${domain},radarr.local.${domain},radarr.public.${domain}
- proxy.port=7878
deploy:
replicas: ${radarr_enabled:-1}
sonarr:
image: makeshift27015/sonarr:${tag:-latest}
restart: unless-stopped
network_mode: "host"
depends_on:
- rclone
volumes:
- /etc/localtime:/etc/localtime:ro
- ./runtime_conf/sonarr:/config
- ./shared:/shared:rshared
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
PUID: ${uid:-65534}
PGID: ${gid:-65534}
UMASK: 000
DO_AUTO_MANUAL_IMPORT: ${do_auto_manual_import_sonarr:-false}
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_sonarr:-true}
- proxy.hosts=sonarr.${domain},sonarr.local.${domain},sonarr.public.${domain}
- proxy.port=8989
deploy:
replicas: ${sonarr_enabled:-1}
sabnzbd:
image: makeshift27015/sabnzbd:${tag:-latest}
network_mode: "host"
deploy:
resources:
limits:
cpus: '12'
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
PUID: ${uid:-65534}
PGID: ${gid:-65534}
UMASK: 000
depends_on:
- rclone
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_sabnzbd:-true}
- proxy.hosts=sabnzbd.${domain},sabnzbd.local.${domain},sabnzbd.public.${domain}
- proxy.port=8080
volumes:
- ./runtime_conf/sabnzbd:/config
- ./shared/separate/downloads/sabnzbd:/shared/merged/downloads/sabnzbd:rshared
- ./scripts:/scripts
restart: unless-stopped
deploy:
replicas: ${sabnzbd_enabled:-1}
traktarr:
image: makeshift27015/traktarr:${tag:-latest}
network_mode: "host"
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
PUID: ${uid:-65534}
PGID: ${gid:-65534}
UMASK: 000
RUNNOW: "yes"
depends_on:
- radarr
- sonarr
volumes:
- ./traktarr.json:/config/config.json
restart: unless-stopped
deploy:
replicas: ${traktarr_enabled:-1}
medusa:
image: makeshift27015/medusa:${tag:-latest}
network_mode: "host"
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
PUID: ${uid:-65534}
PGID: ${gid:-65534}
UMASK: 000
depends_on:
- rclone
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_medusa:-true}
- proxy.hosts=medusa.${domain},medusa.local.${domain},medusa.public.${domain}
- proxy.port=8081
restart: unless-stopped
volumes:
- ./runtime_conf/medusa:/config
- ./shared:/shared:rshared
- /etc/localtime:/etc/localtime:ro
deploy:
replicas: ${medusa_enabled:-1}
headphones:
image: makeshift27015/headphones:${tag:-latest}
network_mode: "host"
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
PUID: ${uid:-65534}
PGID: ${gid:-65534}
UMASK: 000
volumes:
- ./runtime_conf/headphones:/config
- ./shared:/shared:rshared
- /etc/localtime:/etc/localtime:ro
depends_on:
- rclone
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_headphones:-true}
- proxy.hosts=headphones.${domain},headphones.local.${domain},headphones.public.${domain}
- proxy.port=8181
restart: unless-stopped
deploy:
replicas: ${headphones_enabled:-1}
lazylibrarian:
image: makeshift27015/lazylibrarian:${tag:-latest}
network_mode: "host"
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
PUID: ${uid:-65534}
PGID: ${gid:-65534}
UMASK: 000
depends_on:
- rclone
volumes:
- ./runtime_conf/lazylibrarian:/config
- ./shared:/shared:rshared
- /etc/localtime:/etc/localtime:ro
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_lazylibrarian:-true}
- proxy.hosts=lazylibrarian.${domain},lazylibrarian.local.${domain},lazylibrarian.public.${domain}
- proxy.port=5299
restart: unless-stopped
deploy:
replicas: ${lazylibrarian_enabled:-1}
mylar:
image: makeshift27015/mylar:${tag:-latest}
network_mode: "host"
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
PUID: ${uid:-65534}
PGID: ${gid:-65534}
UMASK: 000
depends_on:
- rclone
volumes:
- ./runtime_conf/mylar:/config
- ./shared:/shared:rshared
- /etc/localtime:/etc/localtime:ro
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_mylar:-true}
- proxy.hosts=mylar.${domain},mylar.local.${domain},mylar.public.${domain}
- proxy.port=8090
restart: unless-stopped
deploy:
replicas: ${mylar_enabled:-1}
bazarr:
image: makeshift27015/bazarr:${tag:-latest}
network_mode: "host"
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
PUID: ${uid:-65534}
PGID: ${gid:-65534}
UMASK: 000
depends_on:
- radarr
- sonarr
volumes:
- ./runtime_conf/bazarr:/config
- ./shared:/shared:rshared
- /etc/localtime:/etc/localtime:ro
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_bazarr:-true}
- proxy.hosts=bazarr.${domain},bazarr.local.${domain},bazarr.public.${domain}
- proxy.port=6767
restart: unless-stopped
deploy:
replicas: ${bazarr_enabled:-1}
jackett:
image: linuxserver/jackett
network_mode: "host"
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
volumes:
- ./runtime_conf/jackett:/config
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_jackett:-true}
- proxy.hosts=jackett.${domain},jackett.local.${domain},jackett.public.${domain}
- proxy.port=9117
restart: unless-stopped
deploy:
replicas: ${jackett_enabled:-1}
transmission:
image: makeshift27015/transmission:${tag:-latest}
network_mode: "host"
environment:
DEBUG: ${debug:-false}
TZ: ${tz:-"Europe/London"}
PUID: ${uid:-65534}
PGID: ${gid:-65534}
UMASK: 000
volumes:
- ./runtime_conf/transmission:/config
- ./shared/separate/downloads/transmission:/shared/merged/downloads/transmission:rshared
labels:
- com.centurylinklabs.watchtower.enable=${autoupdate_transmission:-true}
- proxy.hosts=transmission.${domain},transmission.local.${domain},transmission.public.${domain}
- proxy.port=9091
restart: unless-stopped
deploy:
replicas: ${transmission_enabled:-1}
watchtower:
image: containrrr/watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/docker/daemon.json:/etc/docker/daemon.json
command: --cleanup --interval 21600
deploy:
replicas: ${watchtower_enabled:-1}