feat: add timezone synchronization volume and update deployment scripts for health checks

Update the Docker README and create a Docker Deployment guide in the docs folder
This commit is contained in:
OhMyApps
2025-06-29 00:00:47 +02:00
parent 9291739672
commit fd2b14028a
6 changed files with 563 additions and 58 deletions

View File

@@ -158,7 +158,7 @@ try {
if (!$SkipHealthCheck) {
Write-ColorText "Waiting for service to be healthy..." -Color Green
# Simple timeout approach for health check
# Try simple timeout first, then use exponential backoff if needed
$timeout = $HealthCheckTimeout
$elapsed = 0
$healthy = $false
@@ -182,10 +182,13 @@ if (!$SkipHealthCheck) {
}
if (!$healthy) {
Write-ColorText "Service failed to become healthy within timeout" -Color Red
Write-ColorText "Checking logs:" -Color Yellow
docker-compose logs zen-mcp
exit 1
# Use exponential backoff retry mechanism
if (!(Wait-ForHealth)) {
Write-ColorText "Service failed to become healthy" -Color Red
Write-ColorText "Checking logs:" -Color Yellow
docker-compose logs zen-mcp
exit 1
}
}
}