Add queued Apache configuration previews

Persist preview requests before dispatch and render them with Celery and RabbitMQ.
Show completed previews in Django admin and document the grouped PR workflow.
This commit is contained in:
parkel committed 2026-11-19 21:18:37 +01:00
1 parent 695c8ed212
commit 84d94f7efa
14 files changed
+313 -5

No files matched your search

+14
View File
@@ -85,3 +85,17 @@ AUTH_PASSWORD_VALIDATORS = [
TIME_ZONE = "UTC"
STATIC_URL = "/static/"
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
CELERY_BROKER_URL = os.environ.get(
"COULOBRE_BROKER_URL", "amqp://guest:guest@127.0.0.1:5672//"
)
CELERY_BROKER_TRANSPORT_OPTIONS = {"confirm_publish": True}
CELERY_TASK_DEFAULT_QUEUE = "coulobre"
CELERY_TASK_IGNORE_RESULT = True
CELERY_BEAT_SCHEDULE = {
"dispatch-web-provisioning-plans": {
"task": "coulobre.hosting.tasks.dispatch_web_plans",
"schedule": 5.0,
"options": {"expires": 5.0},
},
}