Files
gitea/abra.sh
notplants d0243cf724
cc-ci/testme cc-ci: success
fix: seed app.ini into writable config volume for Gitea 1.24+
Gitea 1.24+ persists settings back to app.ini on boot (e.g. WORK_PATH).
Mounting app.ini directly as a read-only swarm config makes that write
fail (logged error, possible repo-access bugs). Mount the rendered config
as app.ini.init and seed a writable copy in the config volume instead.
2026-08-11 16:49:26 +00:00

16 lines
263 B
Bash

export APP_INI_VERSION=v23
export DOCKER_SETUP_SH_VERSION=v3
export PG_BACKUP_VERSION=v1
abra_backup_app() {
_abra_backup_dir "app:/var/lib/gitea"
}
abra_backup_db() {
_abra_backup_mysql "db" "gitea"
}
abra_backup() {
abra_backup_app && abra_backup_db
}