From 05dfe8912f5cf8882ab968107959368ebfdcf9bc Mon Sep 17 00:00:00 2001 From: Daniel Radl Date: Wed, 22 Apr 2026 16:31:19 +0200 Subject: [PATCH] fix(pwd): use mariadb healthcheck.sh --- pwd.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pwd.yml b/pwd.yml index 73f1d946..dd5751d6 100644 --- a/pwd.yml +++ b/pwd.yml @@ -82,9 +82,11 @@ services: networks: - frappe_network healthcheck: - test: mariadb-admin ping -h localhost --password=admin - interval: 1s - retries: 20 + test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] + start_period: 5s + interval: 5s + timeout: 5s + retries: 5 deploy: restart_policy: condition: on-failure