From 3aa89cb55f6c03a5a478953c079e828c68892987 Mon Sep 17 00:00:00 2001 From: Ian den Hartog Date: Mon, 15 Sep 2025 21:22:42 +0200 Subject: [PATCH] chore: add start period to healtcheck This improved the time it will take when docker compose see the service as healty. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 74b32177..341bca10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ RUN apk update \ USER 10000 -HEALTHCHECK --interval=1m --timeout=2s CMD ["/redis-commander/bin/healthcheck.js"] +HEALTHCHECK --interval=1m --timeout=2s --start-period=1s CMD ["/redis-commander/bin/healthcheck.js"] ENTRYPOINT ["/usr/bin/dumb-init", "--"] CMD ["/redis-commander/docker/entrypoint.sh"]