From a08fa7db1fd01f04019d8e6fc5f991f5d218316e Mon Sep 17 00:00:00 2001 From: caretaker Date: Fri, 19 Jun 2026 23:15:31 +0500 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=20=D0=B8?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=20=D0=BD?= =?UTF-8?q?=D0=B0=D1=87=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B=D0=B9=20docker-compo?= =?UTF-8?q?se.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 90 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e4ed12b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,90 @@ +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=Europe/London + - PUID=${PUID} + - PGID=${PGID} + - UMASK_SET=002 + - serverIP=0.0.0.0 + - serverPort=8266 + - webUIPort=8265 + - internalNode=true + - inContainer=true + - ffmpegVersion=7 + - nodeName=MyInternalNode + - auth=false + - openBrowser=true + - maxLogSizeMB=10 + - cronPluginUpdate= + - NVIDIA_DRIVER_CAPABILITIES=all + - NVIDIA_VISIBLE_DEVICES=all + volumes: + - /docker/tdarr/server:/app/server + - /docker/tdarr/configs:/app/configs + - /docker/tdarr/logs:/app/logs + - /media:/media + - /transcode_cache:/temp + + devices: + - /dev/dri:/dev/dri + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu] + + +# node example + tdarr-node: + container_name: tdarr-node + image: ghcr.io/haveagitgat/tdarr_node:latest + restart: unless-stopped + network_mode: service:tdarr + environment: + - TZ=Europe/London + - PUID=${PUID} + - PGID=${PGID} + - UMASK_SET=002 + - nodeName=MyExternalNode + - serverIP=0.0.0.0 + - serverPort=8266 + - inContainer=true + - ffmpegVersion=7 + - nodeType=mapped + - priority=-1 + - cronPluginUpdate= + - apiKey= + - maxLogSizeMB=10 + - pollInterval=2000 + - startPaused=false + - transcodegpuWorkers=1 + - transcodecpuWorkers=2 + - healthcheckgpuWorkers=1 + - healthcheckcpuWorkers=1 + - NVIDIA_DRIVER_CAPABILITIES=all + - NVIDIA_VISIBLE_DEVICES=all + + volumes: + - /docker/tdarr/configs:/app/configs + - /docker/tdarr/logs:/app/logs + - /media:/media + - /transcode_cache:/temp + + devices: + - /dev/dri:/dev/dri + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu] \ No newline at end of file