aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-02-03 18:51:14 -0600
committerGitHub <noreply@github.com>2021-02-03 18:51:14 -0600
commit9ddf92e836aa8aff23f04e5943428a13eb7807c6 (patch)
tree8c23644608d901c9fdf4a6e1180cd2f086e58312 /Dockerfile
parent7ad33d440cb3ebf20c76687b58b43b9c92ac1a97 (diff)
parent965f38ee317d0c769f7830a560a810f01057c5a2 (diff)
downloadslskd-9ddf92e836aa8aff23f04e5943428a13eb7807c6.tar.gz
Merge pull request #33 from slskd/healthcheck
Fix health check
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index c67991ac..5614c9bd 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=5s --start-period=60s --retries=3 CMD "wget -nv -t1 --spider 'http://localhost:5000/health' || exit 1"
+HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O - http://localhost:80/health
ENTRYPOINT ["./slskd"] \ No newline at end of file