Compare commits
5 Commits
0e18e4b128
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 850a01ab34 | |||
| 2ae74190b2 | |||
| a840ba4bc5 | |||
| 51d0284960 | |||
| 47f5a98fe6 |
@ -24,10 +24,6 @@ services:
|
||||
- MYSQL_PASSWORD_FILE=/run/secrets/db_password
|
||||
- MYSQL_USER=kuma
|
||||
- MYSQL_DATABASE=kuma
|
||||
# Run mariadb-upgrade automatically when the data dir is from an older
|
||||
# major version (e.g. 11.x -> 12.x). Needed because this overlay can be
|
||||
# carried across MariaDB major bumps.
|
||||
- MARIADB_AUTO_UPGRADE=1
|
||||
volumes:
|
||||
- mariadb:/var/lib/mysql
|
||||
networks:
|
||||
@ -42,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
|
||||
|
||||
1
release/3.1.0+2.4.0
Normal file
1
release/3.1.0+2.4.0
Normal file
@ -0,0 +1 @@
|
||||
no action necessary
|
||||
Reference in New Issue
Block a user