Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion railway.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dockerfilePath": "Dockerfile"
},
"deploy": {
"healthcheckPath": "/api/ready",
"healthcheckPath": "/api/health",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore readiness as the Railway health check

When the customer database or embedder cannot initialize, /api/health still returns 200 unconditionally, while /api/ready returns 503 until both dependencies are usable. Pointing Railway at this liveness endpoint therefore lets a broken deployment be marked healthy and receive traffic, despite the Docker health check and hosted deployment guidance continuing to require /api/ready.

Useful? React with 👍 / 👎.

"healthcheckTimeout": 300,
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
Expand Down