start auth apis and packages, redis, celery and run with docker

This commit is contained in:
behruz-dev
2025-07-14 18:09:23 +05:00
parent 2040e43585
commit dd56acf978
33 changed files with 492 additions and 21 deletions

13
config/celery.py Normal file
View File

@@ -0,0 +1,13 @@
import os
import celery
from config.env import env
os.environ.setdefault("DJANGO_SETTINGS_MODULE", env("DJANGO_SETTINGS_MODULE"))
app = celery.Celery("config")
app.config_from_object("django.conf:settings", namespace="CELERY")
app.autodiscover_tasks()