mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Container: Set a less frequent healthcheck to reduce CPU usage (#3826)
This commit is contained in:
parent
06a2b1c671
commit
a6101cc26d
1 changed files with 2 additions and 2 deletions
4
.github/container/Dockerfile
vendored
4
.github/container/Dockerfile
vendored
|
@ -102,10 +102,10 @@ RUN addgroup ejabberd -g 9000 \
|
||||||
&& chown -R ejabberd:ejabberd $HOME
|
&& chown -R ejabberd:ejabberd $HOME
|
||||||
|
|
||||||
HEALTHCHECK \
|
HEALTHCHECK \
|
||||||
--interval=5s \
|
--interval=1m \
|
||||||
--timeout=5s \
|
--timeout=5s \
|
||||||
--start-period=5s \
|
--start-period=5s \
|
||||||
--retries=120 \
|
--retries=10 \
|
||||||
CMD /usr/local/bin/ejabberdctl status
|
CMD /usr/local/bin/ejabberdctl status
|
||||||
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue