From 6eda287ec45f59f02a13e1c017b2187530269df1 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 30 Apr 2021 11:12:41 +0200 Subject: [PATCH] restore health checks to once per 5 minutes and once per hour for extended --- packages/health-check/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/health-check/Dockerfile b/packages/health-check/Dockerfile index 436bf429..17771175 100644 --- a/packages/health-check/Dockerfile +++ b/packages/health-check/Dockerfile @@ -7,8 +7,8 @@ RUN yarn --no-lockfile COPY src src COPY cli cli -RUN echo '* * * * * /usr/app/cli/run critical > /dev/stdout' >> /etc/crontabs/root -RUN echo '* * * * * /usr/app/cli/run extended > /dev/stdout' >> /etc/crontabs/root +RUN echo '*/5 * * * * /usr/app/cli/run critical > /dev/stdout' >> /etc/crontabs/root +RUN echo '0 * * * * /usr/app/cli/run extended > /dev/stdout' >> /etc/crontabs/root EXPOSE 3100 ENV NODE_ENV production