Commit bd7adc63 authored by nimrod's avatar nimrod
Browse files

Added container health check.

parent b035ac96
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8,3 +8,4 @@ COPY --from=go-statsd-vis /go/bin/statsd-vis /usr/local/bin
USER nobody
EXPOSE 8080/tcp 8125/tcp 8125/udp
CMD [ "/usr/local/bin/statsd-vis", "-statsdudp", "0.0.0.0:8125", "-statsdtcp", "0.0.0.0:8125" ]
HEALTHCHECK CMD wget --quiet --spider http://localhost:8080/ || exit 1