Introduction

Just Saving my current Tdarr configs

Docker Compose

version: "3.8"
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
      - 8267:8267 # Internal node port
    environment:
      - TZ=America/New_York
      - PUID=1000
      - PGID=1000
      - UMASK_SET=002
      - serverIP=0.0.0.0
      - serverPort=8266
      - webUIPort=8265
      - internalNode=true
      - nodeID=MyInternalNode
      - nodeIP=0.0.0.0
      - nodePort=8267
      - NVIDIA_DRIVER_CAPABILITIES=all
      - NVIDIA_VISIBLE_DEVICES=all
    volumes:
      - /mnt/tank/tdar_config/server:/app/server
      - /mnt/tank/tdar_config/config:/app/configs
      - /mnt/tank/tdar_config/logs:/app/logs
      - /mnt/tank:/media
      - /mnt/tank/xocde/:/temp
    deploy:
      resources:
        reservations:
          devices:
            - capabilities:
                - gpu
networks: {}

Flow

{
  "_id": "flow_4k_to_1080p_hevc_nvenc",
  "name": "4K to 1080p HEVC (NVENC)",
  "description": "Downscale >1080p sources to 1080p and transcode video to HEVC using NVENC.",
  "tags": "",
  "flowPlugins": [
    {
      "name": "File provided to flow",
      "sourceRepo": "Community",
      "pluginName": "inputFile",
      "version": "1.0.0",
      "id": "node_input",
      "position": { "x": 0, "y": 0 },
      "fpEnabled": true,
      "inputsDB": {
        "fileAccessChecks": "true",
        "pauseNodeIfAccessChecksFail": "true"
      }
    },
    {
      "name": "Begin ffmpeg command",
      "sourceRepo": "Community",
      "pluginName": "ffmpegCommandStart",
      "version": "1.0.0",
      "id": "node_start",
      "position": { "x": 200, "y": 0 },
      "fpEnabled": true
    },
    {
      "name": "Limit to 1080p",
      "sourceRepo": "Community",
      "pluginName": "ffmpegCommandSetVdeoResolution",
      "version": "1.0.0",
      "id": "node_res",
      "position": { "x": 400, "y": 0 },
      "fpEnabled": true,
      "inputsDB": {
        "targetResolution": "1080p",
        "onlyDownscale": "true"
      }
    },
    {
      "name": "Set video to HEVC (NVENC)",
      "sourceRepo": "Community",
      "pluginName": "ffmpegCommandSetVideoEncoder",
      "version": "1.0.0",
      "id": "node_encoder",
      "position": { "x": 600, "y": 0 },
      "fpEnabled": true,
      "inputsDB": {
        "outputCodec": "hevc",
        "ffmpegPreset": "medium",
        "hardwareType": "nvenc",
        "hardwareEncoding": "true",
        "hardwareDecoding": "true",
        "forceEncoding": "true"
      }
    },
    {
      "name": "Execute ffmpeg",
      "sourceRepo": "Community",
      "pluginName": "ffmpegCommandExecute",
      "version": "1.0.0",
      "id": "node_exec",
      "position": { "x": 800, "y": 0 },
      "fpEnabled": true
    },
    {
      "name": "Replace original",
      "sourceRepo": "Community",
      "pluginName": "replaceOriginalFile",
      "version": "1.0.0",
      "id": "node_replace",
      "position": { "x": 1000, "y": 0 },
      "fpEnabled": true
    }
  ]
}