Refactor AIDE configuration and add exclusion paths
This commit is contained in:
@@ -37,8 +37,8 @@ locals {
|
||||
}
|
||||
}
|
||||
|
||||
gitea_path = "/mnt/microk8s_persistent/gitea"
|
||||
gitea_mysql_path = "/mnt/microk8s_persistent/mysql.gitea"
|
||||
gitea_path = "${local.persistent_folder}/gitea"
|
||||
gitea_mysql_path = "${local.persistent_folder}/mysql.gitea"
|
||||
}
|
||||
|
||||
#
|
||||
@@ -108,8 +108,9 @@ module "gitea_backup" {
|
||||
secret_key = scaleway_iam_api_key.backup_app_api.secret_key
|
||||
bucket_name = scaleway_object_bucket.backup.name
|
||||
|
||||
retention_days = local.local_backup_retention_days
|
||||
cron_schedule = local.gitea_files_backup_cron_schedule
|
||||
retention_days = local.local_backup_retention_days
|
||||
cron_schedule = local.gitea_files_backup_cron_schedule
|
||||
host_storage_path = local.persistent_folder
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user