infrastructure/ansible/roles/intersect_docker/files/jellyfin/docker-compose.yml
2020-10-27 17:38:10 +00:00

26 lines
771 B
YAML

version: "2.3"
services:
jellyfin:
image: linuxserver/jellyfin:version-10.6.4-1
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ=Europe/London
volumes:
- "{{ app_data_dir }}/jellyfin:/config"
- /mnt/media/TV:/mnt/TV
- /mnt/media/Movies:/mnt/Movies
tmpfs:
- /config/cache
- /config/log
- /config/data/transcodes
restart: unless-stopped
devices:
- /dev/dri/card0:/dev/dri/card0
- /dev/dri/renderD128:/dev/dri/renderD128
labels:
- traefik.enable=true
- traefik.http.routers.jellyfin.rule=Host(`media.jakehoward.tech`)
- traefik.http.routers.jellyfin.tls.certresolver=le
- traefik.http.routers.jellyfin.middlewares=compress@file