From 86e86c7758c8c73de00746fe011624b5a39aa8d2 Mon Sep 17 00:00:00 2001
From: andryyy <andre.peters@debinux.de>
Date: Fri, 7 Jul 2017 11:20:00 +0200
Subject: [PATCH] [Compose] Important health check fix for nginx-mailcow

---
 docker-compose.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index 7c435f7d..f6f80d7b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -258,7 +258,7 @@ services:
         - php-fpm-mailcow
       image: nginx:mainline-alpine
       healthcheck:
-        test: ["CMD", "ping", "php-fpm-mailcow"]
+        test: ["CMD", "ping", "php-fpm-mailcow", "-c", "5"]
         interval: 5s
         timeout: 5s
         retries: 10