forked from blaineventurine/home-automation-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.media-management.yml
executable file
·330 lines (318 loc) · 9.87 KB
/
docker-compose.media-management.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
version: "3.7"
services:
transmission-openvpn:
image: haugene/transmission-openvpn:latest
container_name: transmission-openvpn
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
restart: always
depends_on:
- "pihole"
ports:
- "9091:9091/tcp"
- "9090:9090/tcp"
- "9091:9091/udp"
- "9090:9090/udp"
volumes:
- /etc/localtime:/etc/localtime:ro
- ${USERDIR}/transmission:/data
- ${MEDIA_PATH}/Downloads:/data/completed
- ${MEDIA_PATH}/Downloads:/data/incomplete
- ${MEDIA_PATH}/torrent-files:/data/watch
environment:
- PUID=${PUID}
- PGID=${PGID}
- OPENVPN_PROVIDER=${OPENVPN_PROVIDER}
- OPENVPN_USERNAME=${OPENVPN_USERNAME}
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
- LOCAL_NETWORK=${LOCAL_NETWORK}/24
- TRANSMISSION_RATIO_LIMIT=0.01
- TRANSMISSION_RATIO_LIMIT_ENABLED=true
- TRANSMISSION_SPEED_LIMIT_UP=1
- TRANSMISSION_SPEED_LIMIT_UP_ENABLED=false
- TRANSMISSION_PEER_PORT=${TRANSMISSION_PEER_PORT}
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
# proxy:
# image: haugene/transmission-openvpn-proxy
# links:
# - transmission
# ports:
# - 8080:8080
# volumes:
# - /etc/localtime:/etc/localtime:ro
# rss:
# image: haugene/transmission-rss
# links:
# - transmission
# environment:
# - RSS_URL=http://.../xxxxx.rss
sonarr:
image: linuxserver/sonarr:latest
container_name: sonarr
restart: always
networks:
- traefik_proxy
ports:
- "8989:8989"
depends_on:
- "transmission-openvpn"
volumes:
- ${USERDIR}/sonarr/config:/config
- ${MEDIA_PATH}/Downloads:/downloads
- ${MEDIA_PATH}/TV:/tv
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
radarr:
image: linuxserver/radarr:latest
container_name: radarr
depends_on:
- "transmission-openvpn"
ports:
- "7878:7878"
volumes:
- ${USERDIR}/radarr/config:/config
- ${MEDIA_PATH}/Movies:/movies
- ${MEDIA_PATH}/Downloads:/data/completed
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
# labels:
# - traefik.backend=radarr
# - traefik.frontend.rule=Host:radarr.${DOMAIN}
# - traefik.docker.network=traefik
# - traefik.port=7878
networks:
- traefik_proxy
# expose:
# - 7878
restart: always
lidarr:
image: linuxserver/lidarr:latest
container_name: lidarr
depends_on:
- "transmission-openvpn"
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- ${USERDIR}/lidarr/config:/config
- ${MEDIA_PATH}/Music:/music
- ${MEDIA_PATH}/Downloads:/downloads
- /etc/localtime:/etc/localtime:ro
ports:
- "8686:8686"
restart: always
jackett:
image: linuxserver/jackett:latest
container_name: jackett
depends_on:
- "transmission-openvpn"
ports:
- "9117:9117"
volumes:
- /${USERDIR}/jackett/config:/config
- ${MEDIA_PATH}/Downloads:/downloads
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
# labels:
# - traefik.backend=jackett
# - traefik.frontend.rule=Host:jackett.${DOMAIN}
# - traefik.docker.network=traefik
# - traefik.port=9117
networks:
- traefik_proxy
# expose:
# - 9117
restart: always
# beets:
# image: linuxserver/beets:latest
# container_name: beets
# environment:
# - PUID=${PUID}
# - PGID=${PGID}
# - TZ=${TZ}
# volumes:
# - ${USERDIR}/beets/config:/config
# - ${MEDIA_PATH}/Music:/music
# - ${MEDIA_PATH}/Downloads:/downloads
# - /etc/localtime:/etc/localtime:ro
# ports:
# - "8337:8337"
# restart: always
# ubooquity:
# image: linuxserver/ubooquity:latest
# container_name: ubooquity
# environment:
# - PUID=${PUID}
# - PGID=${PGID}
# - TZ=${TZ}
# volumes:
# - ${USERDIR}/ubooquity/config:/config
# - ${MEDIA_PATH}/Books:/books
# - ${MEDIA_PATH}/Comics:/comics
# # - ${MEDIA_PATH}/books:/files
# ports:
# - "2202:2202"
# - "2203:2203"
# restart: unless-stopped
# lazylibrarian:
# image: linuxserver/lazylibrarian:latest
# container_name: lazylibrarian
# environment:
# - PUID=${PUID}
# - PGID=${PGID}
# - TZ=${TZ}
# volumes:
# - ${USERDIR}/lazyLibrarian:/config
# - ${MEDIA_PATH}/Downloads:/downloads
# - ${MEDIA_PATH}/books:/books
# ports:
# - "5299:5299"
# restart: unless-stopped
bazarr:
image: linuxserver/bazarr:latest
container_name: bazarr
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- ${USERDIR}/bazaar/config:/config
- ${MEDIA_PATH}/Movies:/movies
- ${MEDIA_PATH}/TV:/tv
ports:
- "6767:6767"
restart: unless-stopped
plex:
container_name: plex
image: linuxserver/plex:latest
restart: unless-stopped
# network_mode: host
ports:
- "32400:32400/tcp"
# - "3005:3005/tcp"
# - "8324:8324/tcp"
# - "32469:32469/tcp"
# - "1900:1900/udp"
# - "32410:32410/udp"
# - "32412:32412/udp"
# - "32413:32413/udp"
# - "32414:32414/udp"
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
- VERSION=docker
- PLEX_CLAIM={PLEX_CLAIM}
- ADVERTISE_IP=http://${LOCAL_IP}:32400/ #,https://plex.${DOMAINNAME}:443
- HOSTNAME="plex"
- ALLOWED_NETWORKS={LOCAL_NETWORK}/255.255.255.0
volumes:
- ${USERDIR}/plex:/config
- ${MEDIA_PATH}/temp:/transcode
- ${MEDIA_PATH}/Movies:/data/movies
- ${MEDIA_PATH}/TV:/data/tvshows
- ${MEDIA_PATH}/Music:/data/music
networks:
- traefik_proxy
# - default
# labels:
# - "traefik.enable=true"
# - "traefik.backend=plex"
# - "traefik.frontend.rule=Host:plex.${DOMAINNAME}"
# #- "traefik.frontend.rule=Host:${DOMAINNAME}; PathPrefixStrip: /plex"
# - "traefik.port=32400"
# - "traefik.protocol=https"
# - "traefik.docker.network=traefik_proxy"
# - "traefik.frontend.headers.SSLRedirect=true"
# - "traefik.frontend.headers.STSSeconds=315360000"
# - "traefik.frontend.headers.browserXSSFilter=true"
# - "traefik.frontend.headers.contentTypeNosniff=true"
# - "traefik.frontend.headers.forceSTSHeader=true"
# - "traefik.frontend.headers.SSLHost=${DOMAINNAME}.com"
# - "traefik.frontend.headers.STSIncludeSubdomains=true"
# - "traefik.frontend.headers.STSPreload=true"
# - "traefik.frontend.headers.frameDeny=true"
# - "traefik.frontend.headers.customFrameOptionsValue=SAMEORIGIN"
# - "traefik.frontend.headers.contentSecurityPolicy=upgrade-insecure-requests"
# - "traefik.frontend.headers.customResponseHeaders=X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex"
ombi:
container_name: ombi
restart: always
image: linuxserver/ombi:latest
volumes:
- ${USERDIR}/ombi:/config
ports:
- "3579:3579"
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
networks:
- traefik_proxy
labels:
- "traefik.enable=true"
- "traefik.backend=ombi"
- "traefik.frontend.rule=Host:ombi.${DOMAINNAME}"
#- "traefik.frontend.rule=Host:${DOMAINNAME}; PathPrefixStrip: /ombi"
- "traefik.port=3579"
# - "traefik.protocol=https"
- "traefik.docker.network=traefik_proxy"
- "traefik.frontend.headers.SSLRedirect=true"
- "traefik.frontend.headers.STSSeconds=315360000"
- "traefik.frontend.headers.browserXSSFilter=true"
- "traefik.frontend.headers.contentTypeNosniff=true"
- "traefik.frontend.headers.forceSTSHeader=true"
- "traefik.frontend.headers.SSLHost=${DOMAINNAME}.com"
- "traefik.frontend.headers.STSIncludeSubdomains=true"
- "traefik.frontend.headers.STSPreload=true"
- "traefik.frontend.headers.frameDeny=true"
- "traefik.frontend.headers.customFrameOptionsValue=SAMEORIGIN"
- "traefik.frontend.headers.contentSecurityPolicy=upgrade-insecure-requests"
- "traefik.frontend.headers.customResponseHeaders=X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex"
# calibre-web:
# image: linuxserver/calibre-web:latest
# container_name: calibre-web
# environment:
# - PUID=${PUID}
# - PGID=${PGID}
# - TZ=${TZ}
# volumes:
# - ${USERDIR}/calibre/config:/config
# - ${MEDIA_PATH}/Books:/books
# ports:
# - 8083:8083
# restart: unless-stopped
# mopidy:
# image: wernight/mopidy
# container_name: mopidy
# hostname: mopidy
# environment:
# - PUID=${PUID}
# - PGID=${PGID}
# # - PULSE_SERVER=$(PULSE_SERVER)
# # - PULSE_COOKIE_DATA=${PULSE_COOKIE_DATA}
# volumes:
# - ${MEDIA_PATH}/Music:/var/lib/mopidy/media:ro
# - ${USERDIR}/mopidy/local:/var/lib/mopidy/local
# - ${USERDIR}/mopidy/mopidy.conf:/var/lib/mopidy/.config/mopidy/mopidy.conf:ro
# ports:
# - 6600:6600
# - 6680:6680
# # options:
# # # - spotify/enabled=false
# # # - gmusic/enabled=false
# # # - soundcloud/enabled=false