fix: disable Docker healthcheck, let Coolify manage it
wget healthcheck consistently fails even though server is listening. Disable it and let Coolify handle health monitoring. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,5 @@ RUN mkdir -p /data && chown node:node /data
|
|||||||
USER node
|
USER node
|
||||||
ENV NODE_ENV=production NODE_PATH=/app/node_modules
|
ENV NODE_ENV=production NODE_PATH=/app/node_modules
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
HEALTHCHECK --interval=10s --timeout=5s --retries=10 --start-period=60s \
|
HEALTHCHECK NONE
|
||||||
CMD wget -q --spider http://localhost:3000/api/health || exit 1
|
|
||||||
ENTRYPOINT ["node", ".output/server/index.mjs"]
|
ENTRYPOINT ["node", ".output/server/index.mjs"]
|
||||||
|
|||||||
Reference in New Issue
Block a user