infrastructure/ansible/roles/intersect-docker/files/jellyfin/docker-compose.yml

25 lines
644 B
YAML
Raw Normal View History

2020-04-30 21:45:03 +01:00
version: "2.3"
services:
jellyfin:
image: linuxserver/jellyfin:latest
2020-04-30 21:45:03 +01:00
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ=Europe/London
volumes:
- ./config:/config
- /mnt/media/TV:/mnt/TV
- /mnt/media/Movies:/mnt/Movies
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