start auth apis and packages, redis, celery and run with docker
This commit is contained in:
7
config/conf/celery.py
Normal file
7
config/conf/celery.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.conf import settings
|
||||
from config.env import env
|
||||
|
||||
CELERY_BROKER_URL = env.str('REDIS_URL')
|
||||
CELERY_ACCEPT_CONTENT = ['json']
|
||||
CELERY_TASK_SERIALIZER = 'json'
|
||||
CELERY_TIMEZONE = settings.TIME_ZONE
|
||||
Reference in New Issue
Block a user