Add health check and theme to Jellyfin for Sablier lazy loading
- Added healthcheck to ensure Jellyfin is ready before Sablier redirects - Added hacker-terminal theme to Sablier starting page - This should help Sablier detect when Jellyfin is fully ready
This commit is contained in:
@@ -42,6 +42,12 @@ services:
|
|||||||
- PUID=${PUID:-1000}
|
- PUID=${PUID:-1000}
|
||||||
- PGID=${PGID:-1000}
|
- PGID=${PGID:-1000}
|
||||||
- TZ=${TZ:-America/New_York}
|
- TZ=${TZ:-America/New_York}
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:8096/"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 30s
|
||||||
# Uncomment for hardware transcoding
|
# Uncomment for hardware transcoding
|
||||||
# devices:
|
# devices:
|
||||||
# - /dev/dri:/dev/dri
|
# - /dev/dri:/dev/dri
|
||||||
@@ -51,6 +57,7 @@ services:
|
|||||||
- "sablier.enable=true"
|
- "sablier.enable=true"
|
||||||
- "sablier.group=${SERVER_HOSTNAME:-debian}-jellyfin"
|
- "sablier.group=${SERVER_HOSTNAME:-debian}-jellyfin"
|
||||||
- "sablier.start-on-demand=true"
|
- "sablier.start-on-demand=true"
|
||||||
|
- "sablier.theme=hacker-terminal"
|
||||||
# Traefik labels - NO Authelia for app access
|
# Traefik labels - NO Authelia for app access
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.jellyfin.rule=Host(`jellyfin.${DOMAIN}`)"
|
- "traefik.http.routers.jellyfin.rule=Host(`jellyfin.${DOMAIN}`)"
|
||||||
|
|||||||
Reference in New Issue
Block a user