Files
docker/tdarr/compose.yml
T
2026-06-04 22:12:33 +02:00

68 lines
1.7 KiB
YAML

# Service Name: Tdarr Server and Node - Only server now(!!)
# Description : Tdarr server and node combined - Only server now(!!)
# Homepage :
#version: "3.4"
services:
tdarr:
# container_name: tdarr
image: ghcr.io/haveagitgat/tdarr:latest
# restart: unless-stopped
# network_mode: bridge
ports:
- ${WEBUIPORT}:8265 # webUI port
- ${SERVERPORT}:8266 # server port
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- UMASK_SET=002
- internalNode=false
- inContainer=true
- ffmpegVersion=7
- nodeID=${NODEID}
- serverIP=${SERVERIP}
- serverPort=${SERVERPORT}
- webUIPort=${WEBUIPORT}
- nodeName=${NODENAME}
- auth=false
- enableDockerAutoUpdater=false
deploy:
resources:
limits:
cpus: '2'
#memory: 1024M
placement:
constraints:
- node.role == manager
volumes:
- /home/rcadmin/docker/tdarr/server:/app/server
- /home/rcadmin/docker/tdarr/config:/app/configs
- /home/rcadmin/docker/tdarr/logs:/app/logs
- cifs_mount_media:/media
- /home/rcadmin/docker/tdarr/auth.js:/app/Tdarr_Server/srcug/server/auth.js
#- cifs_mount_media/cache:/temp
#- /mnt/nfs/tower/video:/tower_media
#- /mnt/nfs/bunker/arch:/bunker_arch
#- /mnt/smb/redux/transcode/tdarr:/temp
# devices:
# - /dev/dri:/dev/dri
networks:
- tdarr
volumes:
cifs_mount_media:
driver: local
driver_opts:
type: cifs
device: //192.168.50.204/Media/Recompress
o: "username=${USERNAME},password=${PASSWORD},vers=3.0,uid=${PUID},gid=${PGID},noserverino"
networks:
tdarr:
driver: overlay
attachable: true
external: true