Increase start_period for healthchecks in langfuse-worker and langfuse services in docker-compose.yml

This commit is contained in:
2025-12-21 00:20:08 +00:00
parent ec2b786555
commit d87fa14c1e

View File

@@ -11,7 +11,7 @@ services:
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
start_period: 40s
environment: &langfuse-worker-env
# NEXTAUTH_URL: ${NEXTAUTH_URL:-http://localhost:3000}
# DATABASE_URL: ${DATABASE_URL:-postgresql://postgres:postgres@postgres:5432/postgres} # CHANGEME
@@ -79,11 +79,11 @@ services:
env_file:
- stack.env
healthcheck:
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider 'http://localhost:3000/api/public/health?failIfDatabaseUnavailable=true' || exit 1"]
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:3000/api/public/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
start_period: 40s
environment:
<<: *langfuse-worker-env
# NEXTAUTH_SECRET: ${NEXTAUTH_SECRET:-mysecret} # CHANGEME