-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
273 lines (256 loc) · 7.13 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
version: '3.9'
configs:
tailscale-plex-serve-config.json:
file: ./tailscale-plex-serve-config.json
networks:
default:
driver: bridge
tailscale_network:
driver: bridge
services:
portainer:
container_name: portainer
image: portainer/portainer
restart: always
ports:
- ${PORTAINER_PORT}:9000/tcp
environment:
- TZ=${TZ}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${DOCKER_CONFIG_DIR}/portainer:/data
tailscale-plex:
image: tailscale/tailscale:latest
container_name: tailscale-plex
hostname: plex
environment:
- TS_AUTHKEY=${TAILSCALE_PLEX_AUTH_KEY}
- TS_STATE_DIR=/var/lib/tailscale
- TS_USERSPACE=false
- TS_EXTRA_ARGS=--advertise-tags=tag:container
- TS_SERVE_CONFIG=/config/plex-serve-config.json
volumes:
- ${DOCKER_CONFIG_DIR}/tailscale-plex/state:/var/lib/tailscale
- ${DOCKER_CONFIG_DIR}/tailscale-plex/config:/config
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
ports:
- "0.0.0.0:8100:32400" # Main plex port
- "0.0.0.0:32400:32400"
- "0.0.0.0:1909:1900/udp"
- "0.0.0.0:3005:3005"
- "0.0.0.0:5555:5353/udp"
- "0.0.0.0:8324:8324"
- "0.0.0.0:32410:32410/udp"
- "0.0.0.0:32412:32412/udp"
- "0.0.0.0:32413:32413/udp"
- "0.0.0.0:32414:32414/udp"
- "0.0.0.0:32469:32469"
restart: unless-stopped
plex:
image: lscr.io/linuxserver/plex:latest
container_name: plex
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- VERSION=docker
- PLEX_CLAIM=
volumes:
- ${DOCKER_CONFIG_DIR}/plex/config:/config
- ${MEDIA_DIR}
- /dev/shm/plex:/transcode # To use RAM for transcoding
devices:
- /dev/dri:/dev/dri
depends_on:
- tailscale-plex
network_mode: service:tailscale-plex
restart: unless-stopped
tailscale-overseerr:
image: tailscale/tailscale:latest
container_name: tailscale-overseerr
hostname: overseerr
environment:
- TS_AUTHKEY=${TAILSCALE_OVERSEERR_AUTH_KEY}
- TS_STATE_DIR=/var/lib/tailscale
- TS_USERSPACE=false
- TS_EXTRA_ARGS=--advertise-tags=tag:container
- TS_SERVE_CONFIG=/config/overseerr-serve-config.json
ports:
- "0.0.0.0:5055:5055"
volumes:
- ${DOCKER_CONFIG_DIR}/tailscale-overseerr/state:/var/lib/tailscale
- ${DOCKER_CONFIG_DIR}/tailscale-overseerr/config:/config
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
restart: unless-stopped
overseerr:
image: lscr.io/linuxserver/overseerr:latest
container_name: overseerr
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- ${DOCKER_CONFIG_DIR}/overseerr/config:/config
depends_on:
- tailscale-overseerr
network_mode: service:tailscale-overseerr
restart: unless-stopped
kometa:
image: kometateam/kometa
container_name: kometa
environment:
- TZ=${TZ}
volumes:
- ${DOCKER_CONFIG_DIR}/kometa/config:/config
command: --run
restart: unless-stopped
## Download clients ##
transmission:
container_name: transmission
image: lscr.io/linuxserver/transmission:latest
ports:
- ${TRANSMISSION_WEBUI_PORT}:9091
- ${TRANSMISSION_CONNECTION_PORT}:51413
- ${TRANSMISSION_CONNECTION_PORT}:51413/udp
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
- TRANSMISSION_WEBUI_USER=${TRANSMISSION_WEBUI_USER}
- TRANSMISSION_WEBUI_PASS=${TRANSMISSION_WEBUI_PASS}
- TRANSMISSION_WEBUI_PORT=${TRANSMISSION_WEBUI_PORT}
- TRANSMISSION_MAX_RETENTION=${TRANSMISSION_MAX_RETENTION}
- TRANSMISSION_MAX_RATIO=${TRANSMISSION_CONNECTION_PORT}
- TRANSMISSION_CONNECTION_PORT=${TRANSMISSION_CONNECTION_PORT}
- SONARR_API_KEY=${SONARR_API_KEY}
- SONARR_PORT=${SONARR_PORT}
- RADARR_API_KEY=${RADARR_API_KEY}
- RADARR_PORT=${RADARR_PORT}
- PEERPORT=${TRANSMISSION_CONNECTION_PORT}
volumes:
- ${DOCKER_CONFIG_DIR}/transmission/config:/config
- ${TORRENTS_BASE_DIR}
restart: unless-stopped
sabnzbd:
image: lscr.io/linuxserver/sabnzbd:latest
container_name: sabnzbd
environment:
- PUID=${PUID}
- PGID=${PUID}
- TZ=${TZ}
dns:
- "1.1.1.1"
- "1.0.0.1"
volumes:
- ${DOCKER_CONFIG_DIR}/sabnzbd/config:/config
- ${USENET_BASE_DIR}
ports:
- ${SABNZBD}:${SABNZBD}
restart: unless-stopped
## aars ##
prowlarr:
container_name: prowlarr
image: lscr.io/linuxserver/prowlarr:latest
ports:
- ${PROWLARR_PORT}:${PROWLARR_PORT}
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- ${DOCKER_CONFIG_DIR}/prowlarr/config:/config
dns:
- "1.1.1.1"
- "1.0.0.1"
restart: unless-stopped
radarr:
container_name: radarr
image: linuxserver/radarr:latest
ports:
- ${RADARR_PORT}:7878
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- ${DOCKER_CONFIG_DIR}/radarr/config:/config
- ${BASE_DIR}
- ${USENET_BASE_DIR}
dns:
- "1.1.1.1"
- "1.0.0.1"
restart: unless-stopped
sonarr:
container_name: sonarr
image: linuxserver/sonarr:latest
ports:
- ${SONARR_PORT}:8989
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- ${DOCKER_CONFIG_DIR}/sonarr/config:/config
- ${BASE_DIR}
- ${USENET_BASE_DIR}
dns:
- "1.1.1.1"
- "1.0.0.1"
restart: unless-stopped
bazarr:
container_name: bazarr
image: lscr.io/linuxserver/bazarr:latest
ports:
- ${BAZARR_PORT}:6767
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- ${DOCKER_CONFIG_DIR}/bazarr/config:/config
- ${BASE_DIR}
restart: unless-stopped
tautulli:
image: ghcr.io/tautulli/tautulli
container_name: tautulli
restart: unless-stopped
volumes:
- ${DOCKER_CONFIG_DIR}/tautulli/config:/config
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
ports:
- ${TAUTULLI_PORT}:8181
scrutiny:
container_name: scrutiny
image: ghcr.io/analogj/scrutiny:master-omnibus
cap_add:
- SYS_RAWIO
- SYS_ADMIN
ports:
- "6090:8080" # webapp
- "8086:8086" # influxDB admin
volumes:
- /run/udev:/run/udev:ro
- ${DOCKER_CONFIG_DIR}/scrutiny/config:/config
- ${DOCKER_CONFIG_DIR}/scrutiny/influxdb:/influxdb
devices:
- /dev/sdd:/dev/sdd # 3.7TB external hard drive
- /dev/sda:/dev/sda # 9.1TB internal hard drive - HDD4
- /dev/sdb:/dev/sdb # 9.1TB internal hard drive - HDD3
- /dev/sdza:/dev/sdza # 953.9GB nvme ssd
- /dev/sdzb:/dev/sdzb # 953.9GB nvme ssd
environment:
- SCRUTINY_WEB_INFLUXDB_TOKEN=${SCRUTINY_WEB_INFLUX_DB_TOKEN}
- SCRUTINY_WEB_INFLUXDB_INIT_USERNAME=${SCRUTINY_WEB_INFLUX_DB_INIT_USERNAME}
- SCRUTINY_WEB_INFLUXDB_INIT_PASSWORD=${SCRUTINY_WEB_INFLUX_DB_INIT_PASSWORD}
restart: unless-stopped