File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11
2- dc yml build/dist/docker-compose-dbclient.yml;
3-
42dc service dbclient;
53
64dc nodeps;
75dc interactive;
86dc ignore_orphans;
97
10-
118if dc stopfile mysql8 >/dev/null; then
129 dc yml build/dist/docker-compose-db8client.yml;
1310 dc cmd mysql "-hdb8 -uroot -p${MYSQL_ROOT_PASSWORD}";
Original file line number Diff line number Diff line change 11
2- dc yml build/dist/docker-compose-dbclient.yml;
32dc service 'dbclient';
43
54dc nodeps;
65dc interactive;
76dc ignore_orphans;
87
9- dc cmd mysqldump "-h db -u ${USER}";
8+ if dc stopfile mysql8 >/dev/null; then
9+ dc yml build/dist/docker-compose-db8client.yml;
10+ dc cmd mysqldump "-h db8 -u ${USER}";
11+ else
12+ dc yml build/dist/docker-compose-dbclient.yml;
13+ dc cmd mysqldump "-h db -u ${USER}";
14+ fi
1015
1116dc run "$@";
1217return $?;
You can’t perform that action at this time.
0 commit comments