mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-03-14 20:32:51 +00:00
Add --start-period and --start-interval in Dockerfile
... to make the container go into a healthy state sooner. cc: #1108
This commit is contained in:
parent
2dd4994259
commit
279aed2080
1 changed files with 1 additions and 1 deletions
|
@ -45,5 +45,5 @@ RUN mkdir /data && chown hc /data
|
|||
USER hc
|
||||
|
||||
ENV USE_GZIP_MIDDLEWARE=True
|
||||
HEALTHCHECK --interval=60s --retries=1 CMD ./fetchstatus.py
|
||||
HEALTHCHECK --start-period=20s --start-interval=5s --interval=60s --retries=1 CMD ./fetchstatus.py
|
||||
CMD [ "uwsgi", "/opt/healthchecks/docker/uwsgi.ini"]
|
||||
|
|
Loading…
Reference in a new issue