restore health checks to once per 5 minutes and once per hour for extended

This commit is contained in:
Karol Wypchlo 2021-04-30 11:12:41 +02:00
parent 4c525afb0f
commit 6eda287ec4
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ RUN yarn --no-lockfile
COPY src src COPY src src
COPY cli cli COPY cli cli
RUN echo '* * * * * /usr/app/cli/run critical > /dev/stdout' >> /etc/crontabs/root RUN echo '*/5 * * * * /usr/app/cli/run critical > /dev/stdout' >> /etc/crontabs/root
RUN echo '* * * * * /usr/app/cli/run extended > /dev/stdout' >> /etc/crontabs/root RUN echo '0 * * * * /usr/app/cli/run extended > /dev/stdout' >> /etc/crontabs/root
EXPOSE 3100 EXPOSE 3100
ENV NODE_ENV production ENV NODE_ENV production