Skip to content
Snippets Groups Projects
Unverified Commit a0a26af1 authored by Rémy Huet's avatar Rémy Huet :computer:
Browse files

Remove healthchecks

parent 51225acb
No related branches found
No related tags found
No related merge requests found
Pipeline #41612 failed
......@@ -74,15 +74,14 @@ RUN apt-get update && \
mkdir -p /opt/etherpad-lite && \
chown -R node /opt/etherpad-lite && \
usermod -d /opt/etherpad-lite node && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*
# import des fichiers téléchargés dans l'image downloader
COPY --from=downloader --chown=node /opt/etherpad-lite /opt/etherpad-lite/
COPY --from=downloader --chown=node /opt/etherpad-lite /opt/etherpad-lite/
USER node
ENTRYPOINT ["/opt/etherpad-lite/entrypoint.sh"]
CMD /bin/bash -c "/opt/etherpad-lite/bin/run.sh"
HEALTHCHECK CMD curl -s 127.0.0.1:${ETHERPAD_PORT:=8080}
EXPOSE 8080
VOLUME /opt/etherpad-lite/var
......@@ -45,11 +45,6 @@ services:
volumes:
- etherpad-db-volume:/var/lib/mysql
env_file: ./secrets/etherpad-db.secrets
healthcheck:
test: "/usr/bin/mysql --user=root --password=$${MYSQL_ROOT_PASSWORD} --execute \"SHOW DATABASES;\""
interval: 4s
timeout: 20s
retries: 10
restart: always
networks:
- docker_default
\ No newline at end of file
- docker_default
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