better healtcheck for mariadb

This commit is contained in:
Art4 2024-12-22 06:38:03 +00:00
parent c949032fc7
commit ab22464d55

View file

@ -24,7 +24,7 @@ jobs:
MYSQL_USER: test
ports:
- 3306/tcp
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
redis:
image: redis