fix(docker): enable healthcheck in Dockerfile with updated parameters
This commit is contained in:
parent
3faa01353d
commit
5982781c9e
1 changed files with 3 additions and 4 deletions
|
|
@ -184,9 +184,8 @@ EXPOSE 3000
|
||||||
|
|
||||||
# Liveness probe hooked into our `/api/health` route (no DB dependency,
|
# Liveness probe hooked into our `/api/health` route (no DB dependency,
|
||||||
# so a transient DB outage does NOT cycle the container).
|
# so a transient DB outage does NOT cycle the container).
|
||||||
#HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=15s --retries=3 \
|
||||||
# CMD wget -qO- "http://127.0.0.1:${PORT:-3000}/api/health" >/dev/null 2>&1 || exit 1
|
CMD wget -qO- "http://127.0.0.1:${PORT:-3000}/api/health" >/dev/null 2>&1 || exit 1
|
||||||
# NOTE: HEALTHCHECK IS DISABLED HERE - COOLIFY HEALTHCHECK IS EASIER TO MANAGE
|
|
||||||
|
|
||||||
COPY --chmod=755 docker-entrypoint.sh /docker-entrypoint.sh
|
COPY --chmod=755 docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue