mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 21:59:12 +00:00
change healthcheck command for MariaDB container (#963)
Co-authored-by: Konstantin Koval
This commit is contained in:
@@ -75,7 +75,7 @@ services:
|
||||
- "/etc/timezone:/etc/timezone:ro" ## use timezone from host
|
||||
- "${HOST_PHOTOVIEW_LOCATION}/database/mariadb:/var/lib/mysql" ## DO NOT REMOVE
|
||||
healthcheck:
|
||||
test: mysqladmin ping -s -h localhost -u $$MARIADB_USER --password=$$MARIADB_PASSWORD
|
||||
test: healthcheck.sh --connect --innodb_initialized
|
||||
interval: 1m
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user