Skip to content

Commit

Permalink
Merge pull request #236 from amai2012/amai2012-patch-1
Browse files Browse the repository at this point in the history
Add a HEALTHCECK
  • Loading branch information
deniszh authored Dec 18, 2024
2 parents e895272 + 4e75365 commit 6f2a674
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,6 @@ VOLUME ["/opt/graphite/conf", "/opt/graphite/storage", "/opt/graphite/webapp/gra
STOPSIGNAL SIGHUP

ENTRYPOINT ["/entrypoint"]

HEALTHCHECK --interval=60s --start-interval=20s --timeout=3s \
CMD curl -f http://localhost/ || exit 1

0 comments on commit 6f2a674

Please sign in to comment.