feat: add CELERY_TASK_DEFAULT_QUEUE environment variable for task isolation

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-02-02 13:17:12 -08:00
parent a385f2b637
commit 4df40f8cea
9 changed files with 33 additions and 6 deletions

View file

@ -3,6 +3,12 @@ DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/surfsense
#Celery Config
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
# Optional: isolate queues when sharing Redis with other apps
CELERY_TASK_DEFAULT_QUEUE=surfsense
# Redis for app-level features (heartbeats, podcast markers)
# Defaults to CELERY_BROKER_URL when not set
REDIS_APP_URL=redis://localhost:6379/0
#Electric(for migrations only)
ELECTRIC_DB_USER=electric