From 5e0e049a94ecce76b05b7efbafab616ecda759ae Mon Sep 17 00:00:00 2001 From: nchebrov Date: Wed, 17 Dec 2025 18:47:30 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5d92b26..3bb57eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,8 @@ # Adjust permissions # RUN chown -R mattermost:mattermost /mattermost - + VOLUME ["/opt/mattermost/config", "/opt/mattermost/data", "/opt/mattermost/logs", "/opt/mattermost/plugins", "/opt/mattermost/client/plugins"] + USER mattermost HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD curl -f http://localhost:8065/api/v4/system/ping || exit 1