Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
more sane timings for healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
bitofant authored Nov 12, 2018
1 parent 8999852 commit 5554920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN wget https://github.com/sullo/nikto/archive/master.tar.gz -P /sectools && \
tar zxvf /sectools/master.tar.gz -C /sectools && \
rm /sectools/master.tar.gz

HEALTHCHECK --interval=5s --timeout=5s --start-period=30s --retries=3 CMD curl --fail http://localhost:8080/status || exit 1
HEALTHCHECK --interval=30s --timeout=5s --start-period=120s --retries=3 CMD curl --fail http://localhost:8080/status || exit 1

COPY Gemfile src/

Expand Down

0 comments on commit 5554920

Please sign in to comment.