mirror of
https://github.com/kieraneglin/pinchflat.git
synced 2026-01-23 02:24:24 +00:00
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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue