Queue and track website restores from the hosting panel

This commit is contained in:
parkel committed 2026-11-21 14:42:38 +01:00
1 parent b9e54c9575
commit 215894aa24
13 files changed
+718 -3

No files matched your search

+4
View File
@@ -132,6 +132,10 @@ LOCAL_ACCOUNT_BACKUPS = os.environ.get("COULOBRE_LOCAL_ACCOUNT_BACKUPS") == "1"
LOCAL_ACCOUNT_BACKUP_MAIL = (
os.environ.get("COULOBRE_LOCAL_ACCOUNT_BACKUP_MAIL") == "1"
)
LOCAL_WEBSITE_RESTORE = (
LOCAL_ACCOUNT_BACKUPS
and os.environ.get("COULOBRE_LOCAL_WEBSITE_RESTORE") == "1"
)
CELERY_BEAT_SCHEDULE = {
"dispatch-web-provisioning-plans": {
"task": "coulobre.hosting.tasks.dispatch_web_plans",