fix: mysql healthcheck
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 13s
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 13s
This commit is contained in:
@@ -6,7 +6,8 @@ services:
|
||||
- "${WEB_PORT}:80"
|
||||
env_file: .env
|
||||
depends_on:
|
||||
- database
|
||||
database:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- ${LOCAL_MOVIES_DIR}:/var/download/movies
|
||||
- ${LOCAL_TVSHOWS_DIR}:/var/download/tvshows
|
||||
@@ -43,7 +44,7 @@ services:
|
||||
- mysql:/var/lib/mysql
|
||||
env_file: .env
|
||||
healthcheck:
|
||||
test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]
|
||||
test: ["CMD", "mysqladmin", "ping"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
Reference in New Issue
Block a user