infrastructure/ansible/roles/intersect-docker/files/jellyfin/docker-compose.yml
2020-09-08 21:17:51 +01:00

25 lines
719 B
YAML

version: "2.3"
services:
jellyfin:
image: linuxserver/jellyfin:latest
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ=Europe/London
volumes:
- /mnt/tank/app-data/jellyfin:/config
- /mnt/media/TV:/mnt/TV
- /mnt/media/Movies:/mnt/Movies
- /mnt/scratch/transcodes:/config/data/transcodes
tmpfs:
- /config/cache
- /config/log
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