Skip to content

Commit 011e1fe

Browse files
authored
chore: cleanup command mysql & mysql-mirror
1 parent 93071eb commit 011e1fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ services:
189189
cap_add:
190190
- SYS_NICE
191191
healthcheck:
192-
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u $$MYSQL_USER", "-p $$MYSQL_PASSWORD"]
192+
test: ["CMD-SHELL", "mysqladmin ping -h localhost -u $$MYSQL_USER -p $$MYSQL_PASSWORD"]
193193
interval: 10s
194194
timeout: 5s
195195
retries: 5
@@ -211,7 +211,7 @@ services:
211211
cap_add:
212212
- SYS_NICE
213213
healthcheck:
214-
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u $$MYSQL_USER", "-p $$MYSQL_PASSWORD"]
214+
test: ["CMD-SHELL", "mysqladmin ping -h localhost -u $$MYSQL_USER -p $$MYSQL_PASSWORD"]
215215
interval: 10s
216216
timeout: 5s
217217
retries: 5

0 commit comments

Comments
 (0)