services: jellyfin: image: jellyfin/jellyfin:latest container_name: jellyfin restart: unless-stopped ports: - "127.0.0.1:8096:8096" volumes: - jellyfin_config:/config - jellyfin_cache:/cache - /media:/media:ro devices: - /dev/dri:/dev/dri group_add: - video networks: - jellyfin-network healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8096/health"] interval: 30s timeout: 10s retries: 3 start_period: 30s volumes: jellyfin_config: jellyfin_cache: networks: jellyfin-network: driver: bridge