Updated healthcheck to run every 30s

This commit is contained in:
Kieran Eglin 2025-01-09 11:14:07 -08:00
parent d8fdba8f6d
commit d0e1951d9e
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -129,7 +129,7 @@ EXPOSE ${PORT}
# Only copy the final release from the build stage
COPY --from=builder /app/_build/${MIX_ENV}/rel/pinchflat ./
HEALTHCHECK --interval=120s --start-period=10s \
HEALTHCHECK --interval=30s --start-period=15s \
CMD curl --fail http://localhost:${PORT}/healthcheck || exit 1
# Start the app