Media Server, Pt 6

This commit is contained in:
Andreas S. Turriff 2024-06-17 19:56:03 -07:00
parent 8a3e78b58e
commit 5365a7ce48

29
jellyfin.yaml Normal file
View File

@ -0,0 +1,29 @@
jellyfin:
deploy:
labels:
traefik.enable: "true"
traefik.http.routers.jellyfin-rtr.entrypoints: "websecure"
traefik.http.routers.jellyfin-rtr.rule: "Host(`jellyfin.your.domain`)"
traefik.http.routers.jellyfin-rtr.service: "jellyfin"
traefik.http.services.jellyfin.loadbalancer.server.port: "8096"
replicas: 1
devices:
- "/dev/dri:/dev/dri"
environment:
DOCKER_MODS: "linuxserver/mods:jellyfin-opencl-intel"
PUID: 10012
PGID: 10002
UMASK: 0002
TZ: "Etc/UTC"
JELLYFIN_PublishedServerUrl: "https://jellyfin.your.domain"
hostname: "jellyfin"
image: "linuxserver/jellyfin:latest"
logging:
driver: journald
networks:
- homelab
restart: on-failure
volumes:
- "/srv/data/docker/jellyfin/cache:/cache"
- "/srv/data/docker/jellyfin/config:/config"
- "/srv/data/shared/media:/media"