From 87b845f56b03ab7d29bb268033432e060eadfe38 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 3 Feb 2021 07:46:24 -0600 Subject: use wget for health check --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 8f1ce239..ec0da480 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,6 +54,6 @@ ENV SLSKD_DOWNLOADS_DIR=/var/slskd/downloads ENV SLSKD_DOCKER_VERSION=${VERSION} -HEALTHCHECK --interval=60s --timeout=10s --start-period=60s --retries=3 CMD "curl --fail http://localhost:5000/health || exit" +HEALTHCHECK --interval=60s --timeout=5s --start-period=60s --retries=3 CMD "wget -nv -t1 --spider 'http://localhost:5000/health || exit 1" ENTRYPOINT ["./slskd"] \ No newline at end of file -- cgit v1.2.3