-
Notifications
You must be signed in to change notification settings - Fork 3
/
tdarr.yml
36 lines (34 loc) · 999 Bytes
/
tdarr.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
version: "3.7"
services:
tdarr:
# Post-Processing, health checks, re-encoding, etc.
image: haveagitgat/tdarr_aio:latest
networks:
- overlay_network
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${GROUP_ID_DOWNLOADERS}
- UMASK=007
volumes:
- "${HTPC_CONFIG_DIR}/tdarr:/var/lib/mongodb"
- "${HTPC_MOVIE_DIR}:/home/Tdarr/Media/movies"
- "${HTPC_SHOW_DIR}:/home/Tdarr/Media/shows"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8265"]
interval: 2m
timeout: 5s
retries: 3
start_period: 1m
deploy:
restart_policy:
condition: on-failure
labels:
- traefik.enable=true
- traefik.http.routers.tdarr.rule=Host(`tdarr.${HTPC_DOMAIN}`)
- traefik.http.routers.tdarr.tls=true
- traefik.http.routers.tdarr.middlewares=auth
- traefik.http.services.tdarr.loadbalancer.server.port=8265
networks:
overlay_network:
external: true