We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
healtcheck
1 parent 1b1c715 commit 1e430bfCopy full SHA for 1e430bf
compose.yaml
@@ -18,7 +18,7 @@ services:
18
mysql:
19
image: mysql:8.0
20
healthcheck:
21
- test: ['CMD', 'mysql', '-h', 'mysql', '--user=root', '--password=${MYSQL_ROOT_PASSWORD}', '-e', 'status']
+ test: ["CMD-SHELL", "mysql -h mysql --user=root --password=$${MYSQL_ROOT_PASSWORD} -e status"]
22
interval: 10s
23
timeout: 2s
24
retries: 5
0 commit comments