mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
add docker healthchecks to the docker images
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
c90ee1c4db
commit
1edb422f3d
10 changed files with 35 additions and 2 deletions
|
|
@ -9,6 +9,7 @@ RUN set -ex; \
|
|||
supervisor \
|
||||
curl \
|
||||
ca-certificates \
|
||||
netcat \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
@ -67,3 +68,5 @@ ENV TALK_PORT=3478
|
|||
USER talk
|
||||
ENTRYPOINT ["start.sh"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|
||||
|
||||
HEALTHCHECK CMD (curl -skI localhost:8081 && curl -skI localhost:8188 && curl -skf --http0.9 localhost:4222 && nc -z localhost $TALK_PORT) || exit 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue