Update DB healthcheck in docker-compose.yaml

This commit is contained in:
Matteo Gheza 2024-02-24 17:26:49 +01:00
parent 4fae283295
commit db9ebad64b
No known key found for this signature in database
GPG Key ID: A7019AD593CEF319
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ services:
volumes:
- db-data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 20s
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-p${MYSQL_ROOT_PASSWORD}"]
timeout: 15s
retries: 10
frontend: