mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-14 21:31:50 +00:00
fix: standalone mysql service healthcheck
This commit is contained in:
parent
e60af160e7
commit
928fc20df3
1 changed files with 3 additions and 3 deletions
|
@ -19,9 +19,9 @@ services:
|
||||||
# - ./docker/production/data/mysql:/var/lib/mysql
|
# - ./docker/production/data/mysql:/var/lib/mysql
|
||||||
#command: --authentication-policy=mysql_native_password
|
#command: --authentication-policy=mysql_native_password
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "/usr/bin/mysql --user=root --password=\"${STANDALONE_MYSQL_ROOT_PASSWORD}\" --execute \"SHOW DATABASES;\""
|
test: "/usr/bin/mysql --host=127.0.0.1 --user=root --password=\"${STANDALONE_MYSQL_ROOT_PASSWORD}\" --execute \"SHOW DATABASES;\""
|
||||||
interval: 5s
|
interval: 1s
|
||||||
timeout: 300s
|
timeout: 5s
|
||||||
retries: 60
|
retries: 60
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
|
|
Loading…
Add table
Reference in a new issue