Skip to content
Snippets Groups Projects
Commit 624eccc2 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[Mattermost] Reduce healthcheck interval

parent b6139d12
No related branches found
No related tags found
No related merge requests found
......@@ -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 /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment