forked from coop-cloud/gitea
app.ini.tmpl changed in "BREAKING CHANGE: remove forgejo" but the config version stayed at v22. Swarm configs are immutable, so upgrading an existing deployment aborts: FATA failed to update config <stack>_app_ini_v22: Error response from daemon: rpc error: code = InvalidArgument desc = only updates to Labels are allowed Bumping to v23 makes Swarm create a new config object instead of mutating v22; the orphaned v22 can be pruned after rollout.
16 lines
263 B
Bash
16 lines
263 B
Bash
export APP_INI_VERSION=v23
|
|
export DOCKER_SETUP_SH_VERSION=v1
|
|
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
|
|
}
|