mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-18 15:29:36 +00:00
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:
parent
6d797dc0d2
commit
565822c175
@ -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"]
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user