From 850a01ab3402711655eaab26cf59a679758a1c54 Mon Sep 17 00:00:00 2001 From: stevensting Date: Tue, 9 Jun 2026 16:39:56 +0000 Subject: [PATCH] fix healthcheck warning (#14) * [x] I have deployed and tested my changes * [x] I have [updated relevant versions in `abra.sh`](https://docs.coopcloud.tech/maintainers/upgrade/#updating-versions-in-the-abrash) * [x] I have made my environment variable changes [backwards compatible](https://docs.coopcloud.tech/maintainers/upgrade/#backwards-compatible-environment-variable-changes) * [x] I ran `abra recipe lint uptime-kuma --chaos` on the PR's branch and fixed the warnings. * [ ] I have added a [release note entry](https://docs.coopcloud.tech/maintainers/upgrade/#creating-new-release-notes) Reviewed-on: https://git.coopcloud.tech/coop-cloud/uptime-kuma/pulls/14 Co-authored-by: stevensting Co-committed-by: stevensting --- compose.mariadb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.mariadb.yml b/compose.mariadb.yml index 417dd78..74358fc 100644 --- a/compose.mariadb.yml +++ b/compose.mariadb.yml @@ -38,7 +38,7 @@ services: backupbot.backup.volumes.mariadb.path: "dump.sql.gz" backupbot.restore.post-hook: "gzip -d /var/lib/mysql/dump.sql.gz && mariadb -u root -p\"$$(cat /run/secrets/db_root_password)\" kuma < /var/lib/mysql/dump.sql && rm -f /var/lib/mysql/dump.sql" healthcheck: - test: ["CMD-SHELL", 'mariadb-admin -p"$$(cat $MYSQL_ROOT_PASSWORD_FILE)" ping'] + test: ["CMD-SHELL", 'mariadb-admin -u"$$MYSQL_USER" -p"$$(cat $$MYSQL_PASSWORD_FILE)" ping'] interval: 30s timeout: 10s retries: 10