chore(docker): add native HEALTHCHECK on :80/health for Coolify running:healthy status

This commit is contained in:
Amirul Islam Redwan71
2026-11-24 06:51:29 +06:00
parent dde0f6f3a6
commit b5beee8814
+1
View File
@@ -17,6 +17,7 @@ ENV NODE_ENV=production
# Listen on 80 so it matches the existing app/proxy port (no label change needed) # Listen on 80 so it matches the existing app/proxy port (no label change needed)
ENV PORT=80 ENV PORT=80
EXPOSE 80 EXPOSE 80
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 CMD wget -qO- http://127.0.0.1:80/health || exit 1
# Remote HTTP MCP endpoint: GET / = landing, POST /mcp = MCP. # Remote HTTP MCP endpoint: GET / = landing, POST /mcp = MCP.
# The npm/npx build stays STDIO (dist/index.js, unchanged). # The npm/npx build stays STDIO (dist/index.js, unchanged).