From c446a5528214f08d2b173678c5facd485896ebd1 Mon Sep 17 00:00:00 2001 From: Ryan W Date: Sat, 30 Sep 2023 12:31:15 -0700 Subject: [PATCH] Use default HEALTHCHECK args --- production.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production.Dockerfile b/production.Dockerfile index 992baef..8a0803c 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=5s --timeout=3s --retries=3 --start-period=30s \ +HEALTHCHECK --interval=30s --timeout=30s --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