Auto-start monica_site dj-queue worker on adama deploy.
Sync runner checkout / sync (pull_request) Successful in 6s
Sync runner checkout / sync (pull_request) Successful in 6s
Campaign sends stay Queued without the worker; wire compose_profiles into django deploy so adama brings up the singleton with web (closes #17).
This commit is contained in:
@@ -110,9 +110,8 @@ app_catalog:
|
||||
compose_file: docker-compose.prod.yml
|
||||
web_service: web
|
||||
migrate_cmd: "uv run python manage.py migrate --noinput"
|
||||
# dj-queue worker (compose profile `worker`) is a singleton — start only on
|
||||
# adama after deploy: docker compose -f docker-compose.prod.yml --profile worker up -d
|
||||
# Catalog deploys web + migrate only; worker is manual / ops step.
|
||||
# dj-queue worker = compose profile `worker` (singleton). Deploy starts it
|
||||
# via host_apps.compose_profiles on adama only (see host_vars/adama.yml).
|
||||
|
||||
# Deploy filter vars. CI passes these; manual runs may leave them undefined
|
||||
# to (re)deploy every app listed in the host's host_apps.
|
||||
|
||||
Reference in New Issue
Block a user