healthcheck/gotify/Dockerfile

9 lines
217 B
Docker
Raw Normal View History

2020-03-12 18:01:26 +00:00
FROM gotify/server
RUN set -ex \
&& apk add --no-cache curl
HEALTHCHECK --interval=5m --timeout=3s \
2020-03-14 09:25:25 +00:00
CMD curl -s -f $(hostname -i || echo '127.0.0.1')/health || exit 1
2020-03-12 18:01:26 +00:00
COPY config.yml /etc/gotify/config.yml