Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Use CELERY_BROKER_URL instead of REDIS_BROKER_URL
Artur Smętd690d9e0c364
diff --git a/common.env b/common.envindex f2261ef2ba..41885a50cf 100644--- a/common.env+++ b/common.env@@ -3,5 +3,5 @@ [email protected]ELASTICSEARCH_URL=http://search:9200OPENEXCHANGERATES_API_KEYCACHE_URL=redis://redis:6379/0-REDIS_BROKER_URL=redis://redis:6379/1+CELERY_BROKER_URL=redis://redis:6379/1SECRET_KEY=changemediff --git a/saleor/settings.py b/saleor/settings.pyindex b74926d790..c096ac4ecf 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -378,7 +378,7 @@ SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS = {'fields': 'id, email'}# CELERY SETTINGS-CELERY_BROKER_URL = os.environ.get('REDIS_BROKER_URL') or ''+CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL') or ''CELERY_TASK_ALWAYS_EAGER = False if CELERY_BROKER_URL else TrueCELERY_ACCEPT_CONTENT = ['json']CELERY_TASK_SERIALIZER = 'json'