3 Commits

Author SHA1 Message Date
b0ce7942c7 chore: add MARIADB_AUTO_UPGRADE=1 to mariadb overlay
All checks were successful
cc-ci/testme cc-ci: success
2026-06-12 04:40:58 +00:00
850a01ab34 fix healthcheck warning (#14)
<!--
Thank you for doing recipe maintenance work!
Please mark all checklist items which are relevant for your changes.
Please remove the checklist items which are not relevant for your changes.
Feel free to remove this comment.
-->

* [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 <stefan@klasse-methode.it>
Co-committed-by: stevensting <stefan@klasse-methode.it>
2026-06-09 16:39:56 +00:00
2ae74190b2 move helper script to dedicated folder 2026-06-09 11:15:29 +02:00
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ services:
- MYSQL_PASSWORD_FILE=/run/secrets/db_password
- MYSQL_USER=kuma
- MYSQL_DATABASE=kuma
- MARIADB_AUTO_UPGRADE=1
volumes:
- mariadb:/var/lib/mysql
networks:
@ -38,7 +39,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