Skip to content

Commit 8a80b2c

Browse files
committed
🎨 Use wget for health check
1 parent 193ade6 commit 8a80b2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

prometheus/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ COPY prometheus.yml /etc/prometheus/prometheus.yml
55
EXPOSE 9090
66

77
HEALTHCHECK --interval=15s --timeout=3s --start-period=10s --retries=3 \
8-
CMD ["curl", "-f", "http://localhost:9090/-/healthy"]
8+
CMD ["wget", "--quiet", "--output-document=-", "http://localhost:9090/-/healthy"]

0 commit comments

Comments
 (0)