mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Add timeout to healthcheck
This commit is contained in:
		| @@ -55,7 +55,7 @@ services: | |||||||
|     ports: |     ports: | ||||||
|       - 8010:8000 |       - 8010:8000 | ||||||
|     healthcheck: |     healthcheck: | ||||||
|       test: ["CMD", "curl", "-f", "http://localhost:8000"] |       test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"] | ||||||
|       interval: 30s |       interval: 30s | ||||||
|       timeout: 10s |       timeout: 10s | ||||||
|       retries: 5 |       retries: 5 | ||||||
|   | |||||||
| @@ -59,7 +59,7 @@ services: | |||||||
|     ports: |     ports: | ||||||
|       - 8000:8000 |       - 8000:8000 | ||||||
|     healthcheck: |     healthcheck: | ||||||
|       test: ["CMD", "curl", "-f", "http://localhost:8000"] |       test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"] | ||||||
|       interval: 30s |       interval: 30s | ||||||
|       timeout: 10s |       timeout: 10s | ||||||
|       retries: 5 |       retries: 5 | ||||||
|   | |||||||
| @@ -53,7 +53,7 @@ services: | |||||||
|     ports: |     ports: | ||||||
|       - 8000:8000 |       - 8000:8000 | ||||||
|     healthcheck: |     healthcheck: | ||||||
|       test: ["CMD", "curl", "-f", "http://localhost:8000"] |       test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"] | ||||||
|       interval: 30s |       interval: 30s | ||||||
|       timeout: 10s |       timeout: 10s | ||||||
|       retries: 5 |       retries: 5 | ||||||
|   | |||||||
| @@ -48,7 +48,7 @@ services: | |||||||
|     ports: |     ports: | ||||||
|       - 8000:8000 |       - 8000:8000 | ||||||
|     healthcheck: |     healthcheck: | ||||||
|       test: ["CMD", "curl", "-f", "http://localhost:8000"] |       test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"] | ||||||
|       interval: 30s |       interval: 30s | ||||||
|       timeout: 10s |       timeout: 10s | ||||||
|       retries: 5 |       retries: 5 | ||||||
|   | |||||||
| @@ -39,7 +39,7 @@ services: | |||||||
|     ports: |     ports: | ||||||
|       - 8000:8000 |       - 8000:8000 | ||||||
|     healthcheck: |     healthcheck: | ||||||
|       test: ["CMD", "curl", "-f", "http://localhost:8000"] |       test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"] | ||||||
|       interval: 30s |       interval: 30s | ||||||
|       timeout: 10s |       timeout: 10s | ||||||
|       retries: 5 |       retries: 5 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon