Enhance environment variable handling, add Celery configuration, and implement device expiration notification tasks
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 13m45s

This commit is contained in:
2025-04-24 10:42:22 +05:00
parent ee8145f07f
commit 99982d13d5
8 changed files with 106 additions and 14 deletions

View File

@ -363,3 +363,10 @@ PASSWORDLESS_AUTH = {
"PASSWORDLESS_REGISTER_NEW_USERS": True,
"PASSWORDLESS_EMAIL_NOREPLY_ADDRESS": "noreply@sarlink.net",
}
# CELERY CONFIGURATION
CELERY_BROKER_URL = "redis://localhost:6379/0" # or your Redis URL
CELERY_ACCEPT_CONTENT = ["json"]
CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_BACKEND = "redis://localhost:6379/0"