Skip to content

Commit

Permalink
Updated healthcheck to run every 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
kieraneglin committed Jan 9, 2025
1 parent d8fdba8 commit d0e1951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/selfhosted.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0e1951

Please sign in to comment.