]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fixhancement: follow redirects in curl health check (#10415)
authorV0idC0de <26016825+V0idC0de@users.noreply.github.com>
Sun, 20 Jul 2025 13:31:49 +0000 (15:31 +0200)
committerGitHub <noreply@github.com>
Sun, 20 Jul 2025 13:31:49 +0000 (06:31 -0700)
Dockerfile

index 72c98b7cb3b56744e49f28b2481dfc91066804dc..70226d41fae9122ef34c34c7b5301e5d12ccae0e 100644 (file)
@@ -265,4 +265,4 @@ ENTRYPOINT ["/init"]
 
 EXPOSE 8000
 
-HEALTHCHECK --interval=30s --timeout=10s --retries=5 CMD [ "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000" ]
+HEALTHCHECK --interval=30s --timeout=10s --retries=5 CMD [ "curl", "-fs", "-S", "-L", "--max-time", "2", "http://localhost:8000" ]