mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Container: Set a less frequent healthcheck to reduce CPU usage (#3826)
This commit is contained in:
parent
06a2b1c671
commit
a6101cc26d
4
.github/container/Dockerfile
vendored
4
.github/container/Dockerfile
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user