From e72767546f08cd04d142e648ff60d0c45b1a1184 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Tue, 21 Apr 2026 23:49:18 +0200 Subject: [PATCH 1/2] Use `mariadb-admin` for health check mysql_upgrade is not existing anymore in the new 11.x images --- pwd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwd.yml b/pwd.yml index 4cb9b474..73f1d946 100644 --- a/pwd.yml +++ b/pwd.yml @@ -82,7 +82,7 @@ services: networks: - frappe_network healthcheck: - test: mysqladmin ping -h localhost --password=admin + test: mariadb-admin ping -h localhost --password=admin interval: 1s retries: 20 deploy: From 05dfe8912f5cf8882ab968107959368ebfdcf9bc Mon Sep 17 00:00:00 2001 From: Daniel Radl Date: Wed, 22 Apr 2026 16:31:19 +0200 Subject: [PATCH 2/2] 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