-
Notifications
You must be signed in to change notification settings - Fork 1
/
tdarr.yml
49 lines (49 loc) · 1.5 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
services:
# Tdarr Server - Library Optimizer
tdarr:
image: ghcr.io/haveagitgat/tdarr:latest
logging:
options:
max-size: "10m"
max-file: "3"
container_name: tdarr
security_opt:
- no-new-privileges:true
restart: unless-stopped
# profiles: ["media", "all"]
networks:
- traefik_proxy
devices:
- /dev/dri:/dev/dri # for hardware transcoding
ports:
- 8265:8265 # webUI port
- 8266:8266 # server port
volumes:
- $DOCKERDIR/appdata/tdarr/server:/app/server
- $DOCKERDIR/appdata/tdarr/configs:/app/configs
- $DOCKERDIR/appdata/tdarr/logs:/app/logs
- $DOWNLOADSDIR/transcode/tdarr:/data/temp
- $ZDATADIR/Photos/zVideos:/data/zVideos-source:ro
- $DATADIR1/media/zvideos:/data/zVideos-destination
environment:
TZ: $TZ
PUID: $PUID
PGID: $PGID
UMASK_SET: 002
serverIP: 0.0.0.0 # or hostname
serverPort: 8266
webUIPort: 8265
internalNode: true
inContainer: true
ffmpegVersion: 6
nodeName: tdarr-node-ds918
labels:
- "traefik.enable=true"
# HTTP Routers
- "traefik.http.routers.tdarr-rtr.entrypoints=https"
- "traefik.http.routers.tdarr-rtr.rule=Host(`tdarr.$DOMAINNAME_DS918`)"
# Middlewares
- "traefik.http.routers.tdarr-rtr.middlewares=chain-oauth@file"
# HTTP Services
- "traefik.http.routers.tdarr-rtr.service=tdarr-svc"
- "traefik.http.services.tdarr-svc.loadbalancer.server.port=8265"