3
0
Fork 0
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:
Dragory 2024-04-08 20:38:33 +03:00
parent e60af160e7
commit 928fc20df3
No known key found for this signature in database

View file

@ -19,9 +19,9 @@ services:
# - ./docker/production/data/mysql:/var/lib/mysql
#command: --authentication-policy=mysql_native_password
healthcheck:
test: "/usr/bin/mysql --user=root --password=\"${STANDALONE_MYSQL_ROOT_PASSWORD}\" --execute \"SHOW DATABASES;\""
interval: 5s
timeout: 300s
test: "/usr/bin/mysql --host=127.0.0.1 --user=root --password=\"${STANDALONE_MYSQL_ROOT_PASSWORD}\" --execute \"SHOW DATABASES;\""
interval: 1s
timeout: 5s
retries: 60
nginx: