1
0
Fork 0
dockers-config/tdarr/docker-compose.yml

40 lines
1.1 KiB
YAML

version: "3.4"
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 # node port. It should be mapped on this container because
# the node container use the network from the main container
environment:
- TZ=${timezone}
- PUID=${PUID}
- PGID=${PGID}
- UMASK_SET=022
- serverIP=192.168.1.22
- serverPort=8266
- webUIPort=8265
- internalNode=false
- inContainer=true
- nodeName=MyInternalNode
#jo diria que aixo no
#- NVIDIA_DRIVER_CAPABILITIES=all
#- NVIDIA_VISIBLE_DEVICES=all
#aixo ho diuen a reddit
- LIBVA_DRIVER_NAME=i965
- LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri/
volumes:
- ./server:/app/server
- ./configs:/app/configs
- ./logs:/app/logs
- ${DOCKERSTORAGEDIR}/media:/media
- ${SDSTORAGEDIR}/tdarr_temp:/temp
#- /YourVolumeforMediaYouWanttoTranscode:/convert ???
#no estic segur
devices:
- /dev/dri:/dev/dri