Skip to content

Setup tdarr

No Longer Active

Overview

Audio/Video Library Analytics & Transcode/Remux Automation

Important Docker Files

.env file

.env
ID=1000
NAME=tdarr
SUB=tdarr
DOMAIN=
PORT=8265
TZ=America/New_York
APPDATA=
MEDIA=

docker-compose.yml file

docker-compose.yml
services:
  tdarr:
    container_name: ${NAME}
    image: ghcr.io/haveagitgat/tdarr
    restart: unless-stopped
    environment:
      TZ: ${TZ}
      PUID: ${ID}
      PGID: ${ID}
      UMASK_SET: 002
      internalNode: true
      inContainer: true
      ffmpegVersion: 6
      nodeName: ${NAME}-001
      NVIDIA_DRIVER_CAPABILITIES: all
      NVIDIA_VISIBLE_DEVICES: all
    volumes:
      - ${APPDATA}/${NAME}/server:/app/server
      - ${APPDATA}/${NAME}/configs:/app/configs
      - ${APPDATA}/${NAME}/logs:/app/logs
      - ${MEDIA}:/media
      - ${APPDATA}/${NAME}/transcode_cache:/temp
    devices:
      - /dev/dri:/dev/dri
    deploy:
      resources:
        reservations:
          devices:
          - driver: nvidia
            count: all
            capabilities: [gpu]
    networks:
      - proxy
    labels:
        swag: enable
        swag_address: ${NAME}
        swag_port: ${PORT}
        swag_proto: http
        swag_url: ${SUB}.${DOMAIN}
        com.centurylinklabs.watchtower.enable: true
networks:
  proxy:
    external: true

Start the Container

Start the Container
docker compose up -d