-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
288 lines (286 loc) · 8.42 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
---
networks: # docker network create caddy
caddy:
external: true
x-environment: &default
TZ: $TZ
PUID: $PUID
PGID: $PGID
services:
caddy:
container_name: caddy
environment:
<<: *default
CADDY_INGRESS_NETWORKS: caddy
extra_hosts:
- host.docker.internal:host-gateway
image: lucaslorentz/caddy-docker-proxy:ci-alpine
networks:
- caddy
ports:
- 80:80
- 443:443
restart: unless-stopped
volumes:
- "<path/for/config>/caddy_data:/data"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
#### Subtitles Management ####
bazarr:
container_name: bazarr
environment:
<<: *default
DOCKER_MODS: ghcr.io/gilbn/theme.park:bazarr
TP_THEME: dracula
image: lscr.io/linuxserver/bazarr
labels:
caddy: bazarr.$DOMAIN
caddy.reverse_proxy: "{{upstreams 6767}}"
networks:
- caddy
ports:
- "6767:6767"
restart: unless-stopped
volumes:
- "<path/for/config>/bazarr:/config"
- "<path/for/media>:/data/media"
#### Music management ####
lidarr:
container_name: lidarr
environment:
<<: *default
DOCKER_MODS: ghcr.io/gilbn/theme.park:lidarr
TP_THEME: dracula
image: lscr.io/linuxserver/lidarr
labels:
caddy: lidarr.$DOMAIN
caddy.reverse_proxy: "{{upstreams 8686}}"
networks:
- caddy
ports:
- 8686:8686
restart: unless-stopped
volumes:
- "<path/for/config>/lidarr:/config"
- "<path/for/media>:/data/media"
- "<path/for/downloads>:/data/torrents"
#### Media requests ####
overseerr:
container_name: overseerr
environment:
<<: *default
LOG_LEVEL: info
image: sctx/overseerr
labels:
caddy: overseerr.$DOMAIN
caddy.reverse_proxy: "{{upstreams 5055}}"
networks:
- caddy
ports:
- "5055:5055"
restart: unless-stopped
volumes:
- "<path/for/config>/overseerr:/app/config"
#### Indexer management ####
prowlarr:
container_name: prowlarr
environment:
<<: *default
DOCKER_MODS: ghcr.io/gilbn/theme.park:prowlarr
TP_THEME: dracula
image: lscr.io/linuxserver/prowlarr
labels:
caddy: prowlarr.$DOMAIN
caddy.reverse_proxy: "{{upstreams 9696}}"
networks:
- caddy
ports:
- "9696:9696"
restart: unless-stopped
volumes:
- "<path/for/config>/prowlarr:/config"
flaresolverr:
container_name: flaresolverr
environment:
- LOG_LEVEL=info
- TZ=$TZ
image: ghcr.io/flaresolverr/flaresolverr:latest
networks:
- caddy
ports:
- "8191:8191"
restart: unless-stopped
#### Movie management ####
radarr:
container_name: radarr
environment:
<<: *default
DOCKER_MODS: ghcr.io/gilbn/theme.park:radarr
TP_THEME: dracula
image: lscr.io/linuxserver/radarr
labels:
caddy: radarr.$DOMAIN
caddy.reverse_proxy: "{{upstreams 7878}}"
networks:
- caddy
ports:
- "7878:7878"
restart: unless-stopped
volumes:
- "<path/for/config>/radarr:/config"
- "<path/for/media>:/data/media"
- "<path/for/downloads>:/data/torrents"
#### Books Management ####
readarr:
container_name: readarr
environment:
<<: *default
UMASK: 002
DOCKER_MODS: ghcr.io/gilbn/theme.park:readarr
TP_THEME: dracula
image: lscr.io/linuxserver/readarr:nightly
labels:
caddy: readarr.$DOMAIN
caddy.reverse_proxy: "{{upstreams 8787}}"
networks:
- caddy
ports:
- 8787:8787
restart: unless-stopped
volumes:
- "<path/for/config>/readarr:/config"
- "<path/for/media>:/data/media"
- "<path/for/downloads>:/data/torrents"
#### Series management ####
sonarr:
container_name: sonarr
environment:
<<: *default
DOCKER_MODS: ghcr.io/gilbn/theme.park:sonarr
TP_THEME: dracula
image: lscr.io/linuxserver/sonarr
labels:
caddy: sonarr.$DOMAIN
caddy.reverse_proxy: "{{upstreams 8989}}"
networks:
- caddy
ports:
- "8989:8989"
restart: unless-stopped
volumes:
- "<path/for/config>/sonarr:/config"
- "<path/for/media>:/data/media"
- "<path/for/downloads>:/data/torrents"
#### Docker updater ####
watchtower:
container_name: watchtower
environment:
<<: *default
WATCHTOWER_CLEANUP: true
WATCHTOWER_REMOVE_VOLUMES: false
WATCHTOWER_INCLUDE_STOPPED: true
WATCHTOWER_POLL_INTERVAL: 53200
image: containrrr/watchtower
networks:
- caddy
restart: unless-stopped
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
#### Download Client ####
transmission:
cap_add:
- NET_ADMIN
container_name: transmission
environment:
<<: *default
TRANSMISSION_RPC_USERNAME: $TRANSMISSION_RPC_USERNAME # username to access transmission can remove if you dont want basic auth
TRANSMISSION_RPC_PASSWORD: $TRANSMISSION_RPC_PASSWORD # password to access transmission can remove if you dont want basic auth
TRANSMISSION_RPC_AUTHENTICATION_REQUIRED: true # set to false if no auth wanted (recommended)
TRANSMISSION_INCOMPLETE_DIR: /data/torrents/incomplete
TRANSMISSION_DOWNLOAD_DIR: /data/torrents
TRANSMISSION_PEER_LIMIT_GLOBAL: 2000
TRANSMISSION_PEER_LIMIT_PER_TORRENT: 1000
TRANSMISSION_DOWNLOAD_QUEUE_ENABLED: true
TRANSMISSION_DOWNLOAD_QUEUE_SIZE: 30
TRANSMISSION_RATIO_LIMIT: 0
TRANSMISSION_RATIO_LIMIT_ENABLED: true
OPENVPN_PROVIDER: PIA # check https://github.com/haugene/docker-transmission-openvpn for supported VPN's PIA is great
OPENVPN_CONFIG: us_seattle,france,switzerland,sweden,austria,italy,belgium # PIA's servers
OPENVPN_USERNAME: $OPENVPN_USERNAME # VPN username
OPENVPN_PASSWORD: $OPENVPN_PASSWORD # VPN password
LOCAL_NETWORK: 192.168.7.0/24 # change to your local IP
TRANSMISSION_WEB_UI: flood-for-transmission
image: haugene/transmission-openvpn
labels:
caddy: transmission.$DOMAIN
caddy.reverse_proxy: "{{upstreams 9091}}"
logging:
driver: json-file
options:
max-size: 10m
networks:
- caddy
ports:
- 9091:9091
restart: unless-stopped
volumes:
- "<path/for/config>/transmission:/config"
- "<path/for/downloads>:/data/torrents"
#### Rar and Zip file handler ####
unpackerr:
container_name: unpackerr
environment:
TZ: $TZ
# General config
UN_DEBUG: false
UN_LOG_FILE:
UN_LOG_FILES: 10
UN_LOG_FILE_MB: 10
UN_INTERVAL: 2m
UN_START_DELAY: 1m
UN_RETRY_DELAY: 5m
UN_MAX_RETRIES: 3
UN_PARALLEL: 1
UN_FILE_MODE: 0644
UN_DIR_MODE: 0755
# Sonarr Config
UN_SONARR_0_URL: http://sonarr:8989
UN_SONARR_0_API_KEY: # <add sonarr api>
UN_SONARR_0_PATHS_0: /data/torrents/series
UN_SONARR_0_PROTOCOLS: torrent
UN_SONARR_0_TIMEOUT: 10s
UN_SONARR_0_DELETE_ORIG: false
UN_SONARR_0_DELETE_DELAY: 5m
# Radarr Config
UN_RADARR_0_URL: http://radarr:7878
UN_RADARR_0_API_KEY: # <add radarr api>
UN_RADARR_0_PATHS_0: /data/torrents/movies
UN_RADARR_0_PROTOCOLS: torrent
UN_RADARR_0_TIMEOUT: 10s
UN_RADARR_0_DELETE_ORIG: false
UN_RADARR_0_DELETE_DELAY: 5m
# Lidarr Config
UN_LIDARR_0_URL: http://lidarr:8686
UN_LIDARR_0_API_KEY: # <add lidarr api>
UN_LIDARR_0_PATHS_0: /data/torrents/music
UN_LIDARR_0_PROTOCOLS: torrent
UN_LIDARR_0_TIMEOUT: 10s
UN_LIDARR_0_DELETE_ORIG: false
UN_LIDARR_0_DELETE_DELAY: 5m
# Readarr Config
UN_READARR_0_URL: http://readarr:8787
UN_READARR_0_API_KEY: # <add readarr api>
UN_READARR_0_PATHS_0: /data/torrents/ebooks
UN_READARR_0_PROTOCOLS: torrent
UN_READARR_0_TIMEOUT: 10s
UN_READARR_0_DELETE_ORIG: false
UN_READARR_0_DELETE_DELAY: 5m
image: golift/unpackerr
networks:
- caddy
restart: always
security_opt:
- no-new-privileges:true
user: $PUID:$PGID
volumes:
- "<path/for/config>/unpackerr:/config"
- "<path/for/downloads>:/data/torrents"