celery is an env var now
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
pierre geeraert
2026-07-04 16:56:02 +01:00
parent 22557fb166
commit e320f881d1
+4 -2
View File
@@ -206,10 +206,12 @@ STATIC_ROOT = BASE_DIR / "templates/static"
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
#
# Celery settings
CELERY_BROKER_URL = "redis://django-redis-svc:6379"
CELERY_RESULT_BACKEND = "redis://django-redis-svc:6379"
CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL')
CELERY_RESULT_BACKEND = os.environ.get('CELERY_BROKER_URL')
CELERY_IMPORTS = [
'apps.stash_management.apps', # This line imports the tasks.py file
'apps.random_simpsons.utils'
# Add other app tasks here if needed
]