Tdarr is a tool that can help you optimize your media files by transcode, remux, remove unwanted streams and more. It supports cross-platform nodes, hardware transcoding, plugins and job reports.
services:
tdarr:
container_name: tdarr
image: ghcr.io/haveagitgat/tdarr:latest
restart: unless-stopped
network_mode: bridge
ports:
- 8265:8265 # webUI port
- 8266:8266 # server port
environment:
- TZ=America/New_York
- PUID=568
- PGID=568
- UMASK_SET=002
- serverIP=0.0.0.0
- serverPort=8266
- webUIPort=8265
- internalNode=true
- inContainer=true
- ffmpegVersion=6
- nodeName=MyInternalNode
- NVIDIA_DRIVER_CAPABILITIES=all
- NVIDIA_VISIBLE_DEVICES=all
volumes:
- /mnt/tank/configs/tdarr/server:/app/server
- /mnt/tank/configs/tdarr/configs:/app/configs
- /mnt/tank/configs/tdarr/logs:/app/logs
- /mnt/tank/configs/tdarr/transcode_cache:/temp
- /mnt/tank/media:/media
devices:
- /dev/dri:/dev/dri
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
This compose is setup for an iGPU. Tdarr works best with a dGPU, and if you have an nVidia card, remove the
devices: - /dev/dri:/dev/dri
line and uncomment all the lines below it (starting with
deploy
).
media
directory into the container.Select the Transcode Cache tab
Enter the path /temp
Click this box
Check the box to enable to GPU to transcode (if you have a dGPU)
Now scan the Library for new files.
Click the Tdarr tab
Click this box (yours will have a different label)
Increase your GPU workers
Scroll down to the Staging Section and click the box to Auto accept successful transcodes.