Merge pull request #1882 from simonsan/patch-1

Use `mariadb-admin` for health check
This commit is contained in:
Daniel Radl 2026-04-22 16:33:31 +02:00 committed by GitHub
commit 91bde56e7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,9 +82,11 @@ services:
networks: networks:
- frappe_network - frappe_network
healthcheck: healthcheck:
test: mysqladmin ping -h localhost --password=admin test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 1s start_period: 5s
retries: 20 interval: 5s
timeout: 5s
retries: 5
deploy: deploy:
restart_policy: restart_policy:
condition: on-failure condition: on-failure