aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-02-03 07:46:24 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-02-03 07:46:24 -0600
commit87b845f56b03ab7d29bb268033432e060eadfe38 (patch)
tree147b2bbde2698c46270e6c45bb2769ceca90ecef /Dockerfile
parent761e6083819e292427ea2d4c6f37fa3c011be4ce (diff)
downloadslskd-87b845f56b03ab7d29bb268033432e060eadfe38.tar.gz
use wget for health check
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
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