Updated healthcheck to run every 30s (#555)
This commit is contained in:
parent
d8fdba8f6d
commit
8a40d296c4
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ EXPOSE ${PORT}
|
||||||
# Only copy the final release from the build stage
|
# Only copy the final release from the build stage
|
||||||
COPY --from=builder /app/_build/${MIX_ENV}/rel/pinchflat ./
|
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
|
CMD curl --fail http://localhost:${PORT}/healthcheck || exit 1
|
||||||
|
|
||||||
# Start the app
|
# Start the app
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue