Explorar el Código

[Compose] Important health check fix for nginx-mailcow

andryyy hace 8 años
padre
commit
86e86c7758
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docker-compose.yml

+ 1 - 1
docker-compose.yml

@@ -258,7 +258,7 @@ services:
         - php-fpm-mailcow
         - php-fpm-mailcow
       image: nginx:mainline-alpine
       image: nginx:mainline-alpine
       healthcheck:
       healthcheck:
-        test: ["CMD", "ping", "php-fpm-mailcow"]
+        test: ["CMD", "ping", "php-fpm-mailcow", "-c", "5"]
         interval: 5s
         interval: 5s
         timeout: 5s
         timeout: 5s
         retries: 10
         retries: 10