fix docker compose
This commit is contained in:
@@ -13,6 +13,10 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- mysql-volume:/var/lib/mysql
|
- mysql-volume:/var/lib/mysql
|
||||||
- /srv/initdb/mysql:/docker-entrypoint-initdb.d/
|
- /srv/initdb/mysql:/docker-entrypoint-initdb.d/
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
|
||||||
|
timeout: 20s
|
||||||
|
retries: 20
|
||||||
etherpadsql:
|
etherpadsql:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
container_name: test_mysql_etherpad
|
container_name: test_mysql_etherpad
|
||||||
@@ -55,8 +59,10 @@ services:
|
|||||||
MYSQL_PASSWORD: "hgu"
|
MYSQL_PASSWORD: "hgu"
|
||||||
ETHERPAD_GROUP: "g.snlbqn7S6ksRbom3"
|
ETHERPAD_GROUP: "g.snlbqn7S6ksRbom3"
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql
|
mysql:
|
||||||
- etherpad
|
condition: service_healthy
|
||||||
|
etherpad:
|
||||||
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- "8005:8080"
|
- "8005:8080"
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user