Skip to content

Commit

Permalink
change Healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Nys committed Aug 20, 2018
1 parent d8cf7d9 commit 991e3b0
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 @@ -13,4 +13,4 @@ RUN apt-get -y update && \
&& rm -rf /var/lib/apt/lists/*

CMD [ "node", "stats.js", "/etc/statsd/config.js" ]
HEALTHCHECK --interval=30s --timeout=2s --retries=3 CMD echo -n "ping:1|c" | nc -C -v -w1 -u 127.0.0.1 8125
HEALTHCHECK --interval=30s --timeout=2s --retries=3 CMD nc -vv -z -u 127.0.0.1 8125

0 comments on commit 991e3b0

Please sign in to comment.