mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 14:34:53 +03:00
Revert "Better default value for CELERY_BROKER_URL with Docker"
This reverts commit 01fca91
This commit is contained in:
parent
01fca91e26
commit
a727303965
|
@ -234,7 +234,7 @@ if USE_TZ:
|
||||||
CELERY_TIMEZONE = TIME_ZONE
|
CELERY_TIMEZONE = TIME_ZONE
|
||||||
# http://docs.celeryproject.org/en/latest/userguide/configuration.html#std:setting-broker_url
|
# http://docs.celeryproject.org/en/latest/userguide/configuration.html#std:setting-broker_url
|
||||||
{% if cookiecutter.use_docker == 'y' -%}
|
{% if cookiecutter.use_docker == 'y' -%}
|
||||||
CELERY_BROKER_URL = env('CELERY_BROKER_URL', default="redis://redis:6379/0")
|
CELERY_BROKER_URL = env('CELERY_BROKER_URL')
|
||||||
{%- else %}
|
{%- else %}
|
||||||
CELERY_BROKER_URL = env('CELERY_BROKER_URL', default="redis://localhost:6379")
|
CELERY_BROKER_URL = env('CELERY_BROKER_URL', default="redis://localhost:6379")
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user