Revert "Better default value for CELERY_BROKER_URL with Docker"

This reverts commit 01fca91
This commit is contained in:
Bruno Alla 2018-08-15 14:55:37 +01:00
parent 01fca91e26
commit a727303965

View File

@ -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 %}