From cb729ad66879a0236c16d72a442c7912aa281c20 Mon Sep 17 00:00:00 2001 From: Ryan W Date: Sat, 30 Sep 2023 12:33:48 -0700 Subject: [PATCH] Reduce interval for healthcheck --- production.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production.Dockerfile b/production.Dockerfile index 1654a828..036b8478 100644 --- a/production.Dockerfile +++ b/production.Dockerfile @@ -78,7 +78,7 @@ USER rails:rails # Entrypoint prepares the database. ENTRYPOINT ["/rails/bin/docker-entrypoint-production"] -HEALTHCHECK --interval=30s --timeout=3s --start-period=0s --start-interval=5s --retries=3 \ +HEALTHCHECK --interval=5s --timeout=3s --start-period=0s --start-interval=5s --retries=3 \ CMD curl -f http://localhost:3000/up || exit 1 # Start the server by default, this can be overwritten at runtime