aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-06-07 18:11:53 -0500
committerGitHub <noreply@github.com>2025-06-07 18:11:53 -0500
commit25716cac2ad6939beb7c8cba0851d0e4da13d71a (patch)
treefc1c5d48d8246d66b2503a17d642104cd12d0495
parent168926dcc232f59494d9068cb0a8007d47c8db5a (diff)
parent283372b8f251d02bf24388603db8bd78e325dbe2 (diff)
downloadslskd-25716cac2ad6939beb7c8cba0851d0e4da13d71a.tar.gz
Merge pull request #1359 from slskd/health
Extend health check startup to 60 minutes, set $SHELL for docker container, and bump the GC memory limit from 500MiB to 2GiB
-rw-r--r--Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index cc7484a1..5b174a0a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -57,13 +57,14 @@ RUN bash -c 'mkdir -p /app/{incomplete,downloads} \
VOLUME /app
-HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O - http://localhost:${SLSKD_HTTP_PORT}/health
+HEALTHCHECK --interval=60s --timeout=3s --start-period=60m --retries=3 CMD wget -q -O - http://localhost:${SLSKD_HTTP_PORT}/health
-ENV DOTNET_EnableDiagnostics=0 \
+ENV SHELL=/usr/bin/bash \
+ DOTNET_EnableDiagnostics=0 \
DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \
DOTNET_gcServer=0 \
DOTNET_gcConcurrent=1 \
- DOTNET_GCHeapHardLimit=1F400000 \
+ DOTNET_GCHeapHardLimit=0x80000000 \
DOTNET_GCConserveMemory=9 \
SLSKD_UMASK=0022 \
SLSKD_HTTP_PORT=5030 \