Skip to content

Commit 2b3b8be

Browse files
authored
Update mysql healthcheck (#2185)
1 parent b05b9b4 commit 2b3b8be

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
@@ -10,7 +10,7 @@ services:
1010
- MYSQL_USER=${MYSQL_USER:-grafana}
1111
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-grafana}
1212
healthcheck:
13-
test: mysqladmin ping -h localhost
13+
test: ["CMD", "mysqladmin", "ping", "-p$$MYSQL_ROOT_PASSWORD", "--protocol", "tcp"]
1414
interval: 10s
1515
retries: 10
1616
start_period: 10s

0 commit comments

Comments
 (0)