25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Container: Set a less frequent healthcheck to reduce CPU usage (#3826)

This commit is contained in:
Badlop 2022-05-24 20:34:16 +02:00
parent 06a2b1c671
commit a6101cc26d

View File

@ -102,10 +102,10 @@ RUN addgroup ejabberd -g 9000 \
&& chown -R ejabberd:ejabberd $HOME
HEALTHCHECK \
--interval=5s \
--interval=1m \
--timeout=5s \
--start-period=5s \
--retries=120 \
--retries=10 \
CMD /usr/local/bin/ejabberdctl status
WORKDIR $HOME