85 lines
2.0 KiB
YAML
85 lines
2.0 KiB
YAML
services:
|
|
jellyfin:
|
|
image: linuxserver/jellyfin:latest
|
|
container_name: jellyfin
|
|
#user: 1000:1000
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Berlin
|
|
volumes:
|
|
- /mnt/jellyfin:/config
|
|
- /mnt/transcode:/transcode
|
|
- /mnt/download:/data
|
|
ports:
|
|
- 8096:8096
|
|
- 7359:7359/udp
|
|
- 8920:8920
|
|
restart: unless-stopped
|
|
runtime: nvidia
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
|
|
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/Berlin
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- UMASK_SET=002
|
|
- serverIP=0.0.0.0
|
|
- serverPort=8266
|
|
- webUIPort=8265
|
|
- internalNode=true
|
|
- inContainer=true
|
|
- ffmpegVersion=7
|
|
- nodeName=vmgpu
|
|
- auth=false
|
|
- maxLogSizeMB=10
|
|
- cronPluginUpdate="0 4 * * *"
|
|
- NVIDIA_DRIVER_CAPABILITIES=all
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
volumes:
|
|
- /mnt/configs/tdarr/server:/app/server
|
|
- /mnt/configs/tdarr/configs:/app/configs
|
|
- /mnt/configs/tdarr/logs:/app/logs
|
|
- /mnt/download:/media
|
|
- /mnt/transcode:/temp
|
|
|
|
devices:
|
|
- /dev/dri:/dev/dri
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
|
|
#volumes:
|
|
# nfs-jellyfin-config:
|
|
# driver_opts:
|
|
# type: "nfs"
|
|
# o: "addr=10.110.10.20,nolock,soft,nfsvers=3"
|
|
# device: ":/mnt/fast/configs/jellyfin"
|
|
# nfs-torrent-download:
|
|
# driver_opts:
|
|
# type: "nfs"
|
|
# o: "addr=10.110.10.20,nolock,soft,nfsvers=3"
|
|
# device: ":/mnt/slow/download"
|
|
# nfs-jellyfin-transcode:
|
|
# driver_opts:
|
|
# type: "nfs"
|
|
# o: "addr=10.110.10.20,nolock,soft,nfsvers=3"
|
|
# device: ":/mnt/fast/transcode" |