From 893cc71fa97ecf78253dc3de7084d7ed6dec3928 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 7 Jun 2025 17:45:06 -0500 Subject: extend health check start period to 60 minutes to account for migrations and share scanning --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cc7484a1..02bdf206 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,7 +57,7 @@ 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 \ DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \ -- cgit v1.2.3 From 596a3dc47effd759c01c5f46edd46f4039f251c0 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 7 Jun 2025 17:45:28 -0500 Subject: set SHELL to /usr/bin/bash --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 02bdf206..ea4171da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,7 +59,8 @@ VOLUME /app 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 \ -- cgit v1.2.3 From 283372b8f251d02bf24388603db8bd78e325dbe2 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 7 Jun 2025 17:52:34 -0500 Subject: bump the hard limit for the GC heap to 2 GiB --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ea4171da..5b174a0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,7 +64,7 @@ ENV SHELL=/usr/bin/bash \ 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 \ -- cgit v1.2.3