Silent curl

master
May B. 2020-03-14 10:25:25 +01:00
parent 7fdfe981c0
commit cd3ca6b155
4 changed files with 4 additions and 4 deletions

View File

@ -4,4 +4,4 @@ RUN set -ex \
&& apk add --no-cache curl
HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -f $(hostname -i || echo '127.0.0.1')/healthz || exit 1
CMD curl -s -f $(hostname -i || echo '127.0.0.1')/healthz || exit 1

View File

@ -4,4 +4,4 @@ RUN set -ex \
&& apk add --no-cache curl
HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -f $(hostname -i || echo '127.0.0.1'):3000/healthz || exit 1
CMD curl -s -f $(hostname -i || echo '127.0.0.1'):3000/healthz || exit 1

View File

@ -4,6 +4,6 @@ RUN set -ex \
&& apk add --no-cache curl
HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -f $(hostname -i || echo '127.0.0.1')/health || exit 1
CMD curl -s -f $(hostname -i || echo '127.0.0.1')/health || exit 1
COPY config.yml /etc/gotify/config.yml

View File

@ -5,4 +5,4 @@ RUN set -ex \
# TODO: use /debug/health
HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -f $(hostname -i || echo '127.0.0.1')/v2/ || exit 1
CMD curl -s -f $(hostname -i || echo '127.0.0.1')/v2/ || exit 1