🏗️ Phase 1 for production readyness
This commit is contained in:
@@ -59,7 +59,7 @@ services:
|
||||
# Docker monitors the application and marks it unhealthy if checks fail
|
||||
# If container is unhealthy, restart policy will trigger a restart
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3030/", "||", "exit", "1"]
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:3030/ || exit 1"]
|
||||
interval: 30s # Check every 30 seconds
|
||||
timeout: 10s # Wait up to 10 seconds for response
|
||||
retries: 3 # Mark unhealthy after 3 consecutive failures
|
||||
|
||||
Reference in New Issue
Block a user