From 3757eb0170bf9f97afa4c7b9e701f5e6ee38f127 Mon Sep 17 00:00:00 2001 From: dtoro Date: Sun, 7 Jun 2026 00:23:28 +0200 Subject: [PATCH] fix: use /usr/bin/mariadb-admin for mariadb healthcheck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MariaDB 11 renamed mysqladmin → mariadb-admin; neither the old healthcheck.sh probe nor mysqladmin is reachable from the Docker healthcheck exec context. Switch to the full-path binary that is confirmed present in the container. Co-Authored-By: Claude Sonnet 4.6 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 335c697..6f0f3d7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -42,7 +42,7 @@ services: # silently no-op on Debian/Ubuntu and macOS Docker Desktop. - ./mariadb/init:/docker-entrypoint-initdb.d:ro,Z healthcheck: - test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "--silent"] + test: ["CMD", "/usr/bin/mariadb-admin", "ping", "-h", "127.0.0.1", "--silent"] interval: 10s timeout: 5s retries: 12