chore(docker): add native HEALTHCHECK on :80/health for Coolify running:healthy status
This commit is contained in:
@@ -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).
|
||||||
|
|||||||
Reference in New Issue
Block a user