Refactor AIDE configuration and add exclusion paths

This commit is contained in:
2024-10-05 21:19:51 +02:00
parent 9c02c2b839
commit 90852bb9a6
13 changed files with 47 additions and 22 deletions
+5 -4
View File
@@ -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
}
#