]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Add timeout to healthcheck 880/head
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Mon, 2 May 2022 21:20:47 +0000 (14:20 -0700)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Thu, 5 May 2022 01:58:58 +0000 (18:58 -0700)
docker/compose/docker-compose.portainer.yml
docker/compose/docker-compose.postgres-tika.yml
docker/compose/docker-compose.postgres.yml
docker/compose/docker-compose.sqlite-tika.yml
docker/compose/docker-compose.sqlite.yml

index acf3ec2ece4dd540bacd2fa73b62035dbfa21c0e..4e2306309274eabaaac7544de6c079c137778be7 100644 (file)
@@ -55,7 +55,7 @@ services:
     ports:
       - 8010:8000
     healthcheck:
-      test: ["CMD", "curl", "-f", "http://localhost:8000"]
+      test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
       interval: 30s
       timeout: 10s
       retries: 5
index d8f93fb790446426a10c9e54af683bf299c41930..356e8161a79371580eb3711040e4c0c267801622 100644 (file)
@@ -59,7 +59,7 @@ services:
     ports:
       - 8000:8000
     healthcheck:
-      test: ["CMD", "curl", "-f", "http://localhost:8000"]
+      test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
       interval: 30s
       timeout: 10s
       retries: 5
index 7ad8a32d6e26bf7c9e0e8c58f12a22c00b8e84f7..f6b3311cdd1d6ab17418fa453abf21ae93d3a717 100644 (file)
@@ -53,7 +53,7 @@ services:
     ports:
       - 8000:8000
     healthcheck:
-      test: ["CMD", "curl", "-f", "http://localhost:8000"]
+      test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
       interval: 30s
       timeout: 10s
       retries: 5
index a898527da3f36dd7426f372ee6564ff9801e7005..d025caacca36454bd1c24950b8c6c89b311c9f7e 100644 (file)
@@ -48,7 +48,7 @@ services:
     ports:
       - 8000:8000
     healthcheck:
-      test: ["CMD", "curl", "-f", "http://localhost:8000"]
+      test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
       interval: 30s
       timeout: 10s
       retries: 5
index ea458fed065a9251e23834224962c1ec815506c4..9bab0cee90e4a76ec9bd6f4ad48a39010102f30f 100644 (file)
@@ -39,7 +39,7 @@ services:
     ports:
       - 8000:8000
     healthcheck:
-      test: ["CMD", "curl", "-f", "http://localhost:8000"]
+      test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
       interval: 30s
       timeout: 10s
       retries: 5