-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
executable file
·80 lines (77 loc) · 2.26 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
# Installation: https://hub.docker.com/r/haveagitgat/tdarr
services:
tdarr:
container_name: tdarr
image: haveagitgat/tdarr:2.25.01
restart: unless-stopped
ports:
- 8265:8265 # webUI port
- 8266:8266 # server port
environment:
- TZ=${TDARR_TZ}
- PUID=${TDARR_PUID}
- PGID=${TDARR_PGID}
- UMASK_SET=${TDARR_UMASK_SET}
- serverIP=${TDARR_serverIP}
- serverPort=${TDARR_serverPort}
- webUIPort=${TDARR_webUIPort}
- internalNode=${TDARR_internalNode}
- inContainer=${TDARR_inContainer}
- ffmpegVersion=${TDARR_ffmpegVersion}
- nodeName=${TDARR_nodeName}
- NVIDIA_DRIVER_CAPABILITIES=${TDARR_NVIDIA_DRIVER_CAPABILITIES}
- NVIDIA_VISIBLE_DEVICES=${TDARR_NVIDIA_VISIBLE_DEVICES}
volumes:
- /opt/appdata/tdarr/server:/app/server
- /opt/appdata/tdarr/configs:/app/configs
- /opt/appdata/tdarr/logs:/app/logs
- /opt/appdata/media:/media
- /opt/appdata/tdarr/transcode_cache:/temp
devices:
- /dev/dri:/dev/dri
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
networks:
- proxy
# node example
tdarr-node:
image: ghcr.io/haveagitgat/tdarr_node:latest
container_name: tdarr-node
restart: unless-stopped
environment:
- TZ=${TDARR_TZ}
- PUID=${TDARR_PUID}
- PGID=${TDARR_PGID}
- UMASK_SET=${TDARR_UMASK_SET}
- nodeName=${TDARR_nodeName}
- serverIP=${TDARR_serverIP}
- serverPort=${TDARR_serverPort}
- inContainer=${TDARR_inContainer}
- ffmpegVersion=${TDARR_ffmpegVersion}
- NVIDIA_DRIVER_CAPABILITIES=${TDARR_NVIDIA_DRIVER_CAPABILITIES}
- NVIDIA_VISIBLE_DEVICES=${TDARR_NVIDIA_VISIBLE_DEVICES}
volumes:
- /opt/appdata/tdarr/configs:/app/configs
- /opt/appdata/tdarr/logs:/app/logs
- /opt/appdata/media:/media
- /opt/appdata/tdarr/transcode_cache:/temp
devices:
- /dev/dri:/dev/dri
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
networks:
- proxy
networks:
proxy:
driver: bridge
external: true