fixing etherpad not getting healthy

This commit is contained in:
2022-12-10 11:07:15 +01:00
parent 6a3354c5c2
commit 96d78f0f32

View File

@@ -49,10 +49,10 @@ services:
volumes: volumes:
- /srv/APIKEY.txt:/opt/etherpad-lite/APIKEY.txt - /srv/APIKEY.txt:/opt/etherpad-lite/APIKEY.txt
# - ./deployment/mysql.cnf:/etc/mysql/conf.d # - ./deployment/mysql.cnf:/etc/mysql/conf.d
healthcheck: # healthcheck:
test: curl --fail http://localhost:9001 || exit 1 # test: curl --fail http://localhost:9001 || exit 1
timeout: 20s # timeout: 20s
retries: 20 # retries: 20
fet2020: fet2020:
image: docker.fet.at/fet2020django image: docker.fet.at/fet2020django
container_name: test_fet2020 container_name: test_fet2020
@@ -67,7 +67,7 @@ services:
mysql: mysql:
condition: service_healthy condition: service_healthy
etherpad: etherpad:
condition: service_healthy condition: service_started
ports: ports:
- "8005:8080" - "8005:8080"
volumes: volumes: