cc-ci/testme cc-ci: success
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.
16 lines
263 B
Bash
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
|
|
}
|