Implement healthcheck in docker-compose.yml

Add healthcheck configuration for Jellyfin service
This commit is contained in:
JG2401
2026-09-28 20:50:53 +02:00
committed by GitHub
parent 63a90686bd
commit 8dc879fce7
+10
View File
@@ -12,6 +12,16 @@ services:
- cache:/cache
- /opt/media/seedbox/media:/media:ro
restart: "unless-stopped"
healthcheck:
test:
[
"CMD-SHELL",
"timeout 10 ls /media >/dev/null 2>&1 || exit 1"
]
interval: 30s
timeout: 15s
retries: 3
start_period: 60s
environment:
- JELLYFIN_PublishedServerUrl=https://${JELLYFIN_HOST}
extra_hosts: