aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-03-04 08:39:12 -0600
committerGitHub <noreply@github.com>2022-03-04 08:39:12 -0600
commit817a89fc86f3c0e3f76886d8b2ef75f99fa5feb6 (patch)
tree4bff66e7ef794567fed02a24c9d8c4003f82e85c
parente99a1751fe1dfce270bcb5656a00d107dffc5170 (diff)
parent7fc1e589559a453544dc2f050f179aa6bbe7b416 (diff)
downloadslskd-817a89fc86f3c0e3f76886d8b2ef75f99fa5feb6.tar.gz
Merge pull request #377 from slskd/health
Use configured listen port for health check
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index b8bb9701..a9512839 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -72,6 +72,6 @@ ENV DOTNET_BUNDLE_EXTRACT_BASE_DIR=/var/tmp/.net \
VOLUME /app
-HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O - http://localhost:5000/health
+HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O - http://localhost:${SLSKD_HTTP_PORT}/health
ENTRYPOINT ["./slskd"] \ No newline at end of file