mirror of
https://github.com/JG2401/HetznerDokployLab.git
synced 2026-10-28 21:00:47 +00:00
Implement healthcheck in docker-compose.yml
Add healthcheck configuration for Jellyfin service
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user