Skip to content

Commit

Permalink
Increased the healthcheck interval to 300s to better align with incre…
Browse files Browse the repository at this point in the history
…ased timeout
  • Loading branch information
immauss committed Nov 29, 2023
1 parent 80dd92e commit 68b6c3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ COPY var-lib.tar.xz /usr/lib/var-lib.tar.xz
COPY scripts/* /scripts/
# Healthcheck needs be an on image script that will know what service is running and check it.
# Current image function stored in /usr/local/etc/running-as
HEALTHCHECK --interval=120s --start-period=300s --timeout=120s \
HEALTHCHECK --interval=300s --start-period=300s --timeout=120s \
CMD /scripts/healthcheck.sh || exit 1
ENTRYPOINT [ "/scripts/start.sh" ]
2 changes: 1 addition & 1 deletion Dockerfile.refresh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ COPY var-lib.tar.xz /usr/lib/var-lib.tar.xz
COPY scripts/* /scripts/
# Healthcheck needs be an on image script that will know what service is running and check it.
# Current image function stored in /usr/local/etc/running-as
HEALTHCHECK --interval=120s --start-period=300s --timeout=120s \
HEALTHCHECK --interval=300s --start-period=300s --timeout=120s \
CMD /scripts/healthcheck.sh || exit 1
ENTRYPOINT [ "/scripts/start.sh" ]

0 comments on commit 68b6c3b

Please sign in to comment.