--- services: jellyfin: image: jellyfin/jellyfin:latest container_name: jellyfin user: "{{ jellyfin_uid }}:{{ jellyfin_gid }}" ports: - "{{ jellyfin_port }}:8096/tcp" - "7359:7359/udp" volumes: - "{{ jellyfin_config_dir }}:/config" - "{{ jellyfin_cache_dir }}:/cache" - "{{ jellyfin_media_dir }}:/media:ro" restart: unless-stopped devices: - /dev/dri:/dev/dri healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8096/dashboard"] interval: 30s timeout: 10s retries: 3 start_period: 40s logging: driver: syslog options: syslog-address: "udp://prospero.incus:1514" tag: "jellyfin" environment: - TZ=America/Toronto - JELLYFIN_PublishedServerUrl={{ jellyfin_published_server_url }} extra_hosts: - "host.docker.internal:host-gateway"