restart test_containers

This commit is contained in:
2022-12-23 09:02:41 +01:00
parent c8daeb043e
commit afe4235a8f

View File

@@ -52,6 +52,7 @@ services:
condition: "service_healthy" condition: "service_healthy"
volumes: volumes:
- /srv/APIKEY.txt:/opt/etherpad-lite/APIKEY.txt - /srv/APIKEY.txt:/opt/etherpad-lite/APIKEY.txt
restart: unless-stopped
# - ./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
@@ -71,7 +72,7 @@ services:
mysql: mysql:
condition: service_healthy condition: service_healthy
etherpad: etherpad:
condition: service_started condition: service_healthy
ports: ports:
- "8005:8080" - "8005:8080"
healthcheck: healthcheck:
@@ -81,6 +82,7 @@ services:
volumes: volumes:
- /srv/APIKEY.txt:/app/etherpad/APIKEY.txt - /srv/APIKEY.txt:/app/etherpad/APIKEY.txt
- /srv/files:/app/files - /srv/files:/app/files
restart: unless-stopped
volumes: volumes:
ep-mysql-volume: ep-mysql-volume:
driver: local driver: local