Skip to content

Commit 5040314

Browse files
committed
Fix healthcheck command.
1 parent a2d4af1 commit 5040314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ services:
8282
command: ${LOCAL_DB_AUTH_OPTION-}
8383

8484
healthcheck:
85-
test: [ "CMD-SHELL", "if [ \"$LOCAL_DB_TYPE\" = \"mariadb\" && [ \"$LOCAL_DB_VERSION\" != \"5.5\" ] && \"$LOCAL_DB_VERSION\" != \"10.0\" && \"$LOCAL_DB_VERSION\" != \"10.1\" ]; then mariadb-admin ping -h localhost; else mysqladmin ping -h localhost; fi" ]
85+
test: [ "CMD-SHELL", "if [ \"$LOCAL_DB_TYPE\" = \"mariadb\" ] && [ \"$LOCAL_DB_VERSION\" != \"5.5\" ] && [ \"$LOCAL_DB_VERSION\" != \"10.0\" ] && [ \"$LOCAL_DB_VERSION\" != \"10.1\" ]; then mariadb-admin ping -h localhost; else mysqladmin ping -h localhost; fi" ]
8686
timeout: 5s
8787
interval: 5s
8888
retries: 10

0 commit comments

Comments
 (0)