Silent curl
parent
7fdfe981c0
commit
cd3ca6b155
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue