use netcat for healthchecks

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-10-06 22:34:10 +02:00
parent ac06db59c7
commit 95311fd7c3
6 changed files with 10 additions and 8 deletions

View file

@ -252,4 +252,4 @@ RUN echo "root:$(openssl rand -base64 12)" | chpasswd
USER www-data
ENTRYPOINT ["/start.sh"]
HEALTHCHECK CMD (nc -z localhost 9000 && curl -skI localhost:7867) || exit 1
HEALTHCHECK CMD (nc -z localhost 9000 && nc -z localhost 7867) || exit 1