-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
218 lines (216 loc) · 6.71 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
version: "3.7"
networks:
edge:
name: edge
internal:
name: internal
socket:
name: socket
local:
services:
plex:
container_name: ${COMPOSE_PROJECT_NAME}.plex
image: lscr.io/linuxserver/plex:latest
volumes:
- "${ROOT}/config/plex/transcode:/tmp/Transcode"
- "${ROOT}/config/plex/config:/config"
- ${ROOT}/config/xteve/data:/xteve/data:rw
- "${ROOT}/media:/data"
ports:
- 32400:32400/tcp
environment:
- TZ=Europe/Stockholm
- PLEX_CLAIM=${PLEX_CLAIM}
- HOSTNAME=plex.${DNS}
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
labels:
- traefik.enable=true
- traefik.http.routers.plex.entrypoints=websecure
- traefik.http.routers.plex.rule=Host(`plex.${DNS}`)
- traefik.http.routers.plex.service=plex
- traefik.http.services.plex.loadbalancer.server.port=32400
- traefik.http.routers.plex.middlewares=secure-noauth
restart: unless-stopped
networks:
- edge
- local
- internal
healthcheck:
test: curl --connect-timeout 15 --silent --show-error --fail http://localhost:32400/identity
interval: 1m00s
timeout: 15s
retries: 3
start_period: 1m00s
media:
image: lscr.io/linuxserver/transmission:latest
container_name: ${COMPOSE_PROJECT_NAME}.ts
volumes:
- "${ROOT}/config/ts:/config"
- "${ROOT}/media:/media"
- "${ROOT}/media/torrents:/watch"
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
- TZ=Europe/Stockholm
restart: unless-stopped
network_mode: container:${VPN_CONTAINER}
depends_on:
wait-for:
condition: service_completed_successfully
healthcheck:
test: curl --connect-timeout 15 --silent --show-error --fail http://localhost:9091/
interval: 1m00s
timeout: 15s
retries: 3
start_period: 1m00s
flood:
container_name: ${COMPOSE_PROJECT_NAME}.flood
image: jesec/flood:latest
user: ${MEDIA_UID}:${MEDIA_UID}
restart: unless-stopped
volumes:
- ${ROOT}/config/flood:/config
- ${ROOT}/media:/media
labels:
- traefik.enable=true
- traefik.http.routers.flood-ts.entrypoints=websecure
- traefik.http.routers.flood-ts.rule=Host(`flood.${DNS}`)
- traefik.http.routers.flood-ts.service=flood-ts
- traefik.http.services.flood-ts.loadbalancer.server.port=3000
- traefik.http.routers.flood-ts.middlewares=secure-auth
command: --allowedpath /media --auth default --host 0.0.0.0 --rundir /config
networks:
- edge
- local
- internal
radarr:
container_name: ${COMPOSE_PROJECT_NAME}.radarr
image: lscr.io/linuxserver/radarr:latest
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
- TZ=Europe/Stockholm
labels:
- traefik.enable=true
- traefik.http.routers.radarr.entrypoints=websecure
- traefik.http.routers.radarr.rule=Host(`radarr.${DNS}`)
- traefik.http.routers.radarr.service=radarr
- traefik.http.services.radarr.loadbalancer.server.port=7878
- traefik.http.routers.radarr.middlewares=secure-auth
volumes:
- ${ROOT}/config/radarr:/config
- ${ROOT}/media:/media
restart: unless-stopped
networks:
- edge
- local
- internal
sonarr:
container_name: ${COMPOSE_PROJECT_NAME}.sonarr
image: lscr.io/linuxserver/sonarr:latest
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
- TZ=Europe/Stockholm
labels:
- traefik.enable=true
- traefik.http.routers.sonarr.entrypoints=websecure
- traefik.http.routers.sonarr.rule=Host(`sonarr.${DNS}`)
- traefik.http.routers.sonarr.service=sonarr
- traefik.http.services.sonarr.loadbalancer.server.port=8989
- traefik.http.routers.sonarr.middlewares=secure-auth
volumes:
- ${ROOT}/config/sonarr:/config
- ${ROOT}/media:/media
restart: unless-stopped
networks:
- edge
- local
- internal
prowlarr:
container_name: ${COMPOSE_PROJECT_NAME}.prowlarr
image: lscr.io/linuxserver/prowlarr:latest
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
- TZ=Europe/Stockholm
labels:
- traefik.enable=true
- traefik.http.routers.prowlarr.entrypoints=websecure
- traefik.http.routers.prowlarr.rule=Host(`prowlarr.${DNS}`)
- traefik.http.routers.prowlarr.service=prowlarr
- traefik.http.services.prowlarr.loadbalancer.server.port=9696
- traefik.http.routers.prowlarr.middlewares=secure-auth
volumes:
- ${ROOT}/config/prowlarr:/config
restart: unless-stopped
networks:
- edge
- local
- internal
overseerr:
container_name: ${COMPOSE_PROJECT_NAME}.overseerr
image: lscr.io/linuxserver/overseerr:latest
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
- TZ=Europe/Stockholm
labels:
- traefik.enable=true
- traefik.http.routers.overseerr.entrypoints=websecure
- traefik.http.routers.overseerr.rule=Host(`overseerr.a.progress44.com`)
- traefik.http.routers.overseerr.service=overseerr
- traefik.http.services.overseerr.loadbalancer.server.port=5055
- traefik.http.routers.overseerr.middlewares=secure-noauth
volumes:
- ${ROOT}/config/overseerr:/config
restart: unless-stopped
networks:
- edge
- local
tautulli:
container_name: ${COMPOSE_PROJECT_NAME}.tautulli
image: tautulli/tautulli:latest
restart: unless-stopped
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
- TZ=Europe/Stockholm
labels:
- traefik.enable=true
- traefik.http.routers.tautulli.entrypoints=websecure
- traefik.http.routers.tautulli.rule=Host(`tautulli.${DNS}`)
- traefik.http.routers.tautulli.service=tautulli
- traefik.http.services.tautulli.loadbalancer.server.port=8181
- traefik.http.routers.tautulli.middlewares=secure-auth
volumes:
- ${ROOT}/config/tautulli:/config
- "${ROOT}/config/plex/Library/Application Support/Plex Media Server/Logs:/logs:ro"
depends_on:
- plex
networks:
- edge
- local
xteve:
image: tnwhitwell/xteve
container_name: ${COMPOSE_PROJECT_NAME}.xteve
restart: unless-stopped
network_mode: container:${VPN_CONTAINER}
environment:
- TZ=Europe/Stockholm
- XTEVE_PORT=34400
volumes:
- ${ROOT}/config/xteve/home:/home/xteve/conf:rw
- ${ROOT}/config/xteve/data:/config/data:rw
- /dev/shm:/tmp/xteve
depends_on:
wait-for:
condition: service_completed_successfully
wait-for:
image: owncloudci/wait-for:latest
command: --it ${VPN_CONTAINER}:${VPN_CONTAINER_TCP_PORT} -t ${TIMEOUT}
networks:
- local
- internal
- socket