From 624eccc25c04d360d105caabc5457537c019ee2a Mon Sep 17 00:00:00 2001
From: Quentin Duchemin <quentinduchemin@tuta.io>
Date: Wed, 26 Feb 2020 18:34:13 +0100
Subject: [PATCH] [Mattermost] Reduce healthcheck interval

---
 pica-mattermost/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pica-mattermost/Dockerfile b/pica-mattermost/Dockerfile
index 93682d5..1867c5b 100644
--- a/pica-mattermost/Dockerfile
+++ b/pica-mattermost/Dockerfile
@@ -35,7 +35,7 @@ RUN mkdir -p /mattermost/data /mattermost/plugins /mattermost/client/plugins \
     && setcap cap_net_bind_service=+ep /mattermost/bin/mattermost
 
 #Healthcheck to make sure container is ready
-HEALTHCHECK --interval=5m --timeout=3s CMD curl --fail http://localhost:8000//api/v4/system/ping || exit 1
+HEALTHCHECK --interval=20s --timeout=3s CMD curl --fail http://localhost:8000//api/v4/system/ping || exit 1
 
 # Configure entrypoint and command
 COPY entrypoint.sh /
-- 
GitLab