30 lines
934 B
YAML
30 lines
934 B
YAML
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"
|