From 8a40d296c4143450c71ad110663a184d63a56b1d Mon Sep 17 00:00:00 2001 From: Kieran Date: Thu, 9 Jan 2025 11:17:55 -0800 Subject: [PATCH] Updated healthcheck to run every 30s (#555) --- docker/selfhosted.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/selfhosted.Dockerfile b/docker/selfhosted.Dockerfile index 235206a..a9956fc 100644 --- a/docker/selfhosted.Dockerfile +++ b/docker/selfhosted.Dockerfile @@ -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