fix: remove Docker HEALTHCHECK + increase Railway timeout to 300s

Docker HEALTHCHECK conflicts with Railway's own healthcheck mechanism.

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
This commit is contained in:
Claude 2026-04-26 01:22:29 +00:00
parent 6d797dc0d2
commit 565822c175
No known key found for this signature in database
2 changed files with 1 additions and 4 deletions

View File

@ -38,8 +38,5 @@ USER app
EXPOSE 8000 EXPOSE 8000
HEALTHCHECK --interval=20s --timeout=15s --start-period=120s --retries=5 \
CMD curl -f http://localhost:${PORT:-8000}/health || exit 1
ENTRYPOINT ["tini", "--"] ENTRYPOINT ["tini", "--"]
CMD ["./start.sh"] CMD ["./start.sh"]

View File

@ -3,6 +3,6 @@ dockerfilePath = "Dockerfile"
[deploy] [deploy]
healthcheckPath = "/health" healthcheckPath = "/health"
healthcheckTimeout = 120 healthcheckTimeout = 300
restartPolicyType = "ON_FAILURE" restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 3 restartPolicyMaxRetries = 3