mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 18:36:14 -04:00
Docker: Use new /health
endpoint for HEALTHCHECK
This commit is contained in:
parent
11de525508
commit
f1856cf95a
5 changed files with 49 additions and 31 deletions
|
@ -64,7 +64,6 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
|
|||
apt-get -qq --no-install-recommends install \
|
||||
ca-certificates \
|
||||
git \
|
||||
curl \
|
||||
${INSTALL_ABIWORD:+abiword} \
|
||||
${INSTALL_SOFFICE:+libreoffice} \
|
||||
&& \
|
||||
|
@ -100,7 +99,7 @@ USER root
|
|||
RUN cd src && npm link
|
||||
USER etherpad
|
||||
|
||||
HEALTHCHECK --interval=20s --timeout=3s CMD curl -f http://localhost:9001 || exit 1
|
||||
HEALTHCHECK --interval=20s --timeout=3s CMD ["etherpad-healthcheck"]
|
||||
|
||||
EXPOSE 9001
|
||||
CMD ["etherpad"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue