File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,10 @@ services:
4949 << : *common-attributes # aliases
5050 container_name : ${MARIADB_DUMP_name}
5151 depends_on :
52- mysql :
53- condition : service_healthy
52+ mysql :
53+ condition : service_healthy
54+ restart : " no"
55+ command : /docker-entrypoint-initdb.d/dump-mysql.sh
5456 volumes :
5557 - mysqldump:/etc/dump/
5658 - ./dump-mysql.sh:/docker-entrypoint-initdb.d/dump-mysql.sh
@@ -60,8 +62,7 @@ services:
6062 container_name : ${MARIADB_MIGRATED_name}
6163 depends_on :
6264 mariadb-dump :
63- condition : service_healthy
64- # restart: true
65+ condition : service_completed_successfully
6566 volumes :
6667 - mysqldump:/etc/dump/
6768 - ./migrate-mariadb.sh:/docker-entrypoint-initdb.d/migrate-mariadb.sh
@@ -77,4 +78,4 @@ volumes:
7778 o : bind
7879
7980networks :
80- backend:
81+ backend :
You can’t perform that action at this time.
0 commit comments