Add CELERY_BROKER_URL for gitlab #2504 (#2505)

* Solved issue #2504

* Added new contributor

Co-authored-by: Gabriel Mejia <gmejia@veritran.com>
This commit is contained in:
Gabriel Mejia 2020-03-23 16:43:59 -05:00 committed by GitHub
parent ea5db6c4f4
commit 2e1a922577
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -222,6 +222,7 @@ Listed in alphabetical order.
Xaver Y.R. Chen `@yrchen`_ @yrchen Xaver Y.R. Chen `@yrchen`_ @yrchen
Yaroslav Halchenko Yaroslav Halchenko
Yuchen Xie `@mapx`_ Yuchen Xie `@mapx`_
Gabriel Mejia `@elgartoinf` @elgartoinf
========================== ============================ ============== ========================== ============================ ==============
.. _@a7p: https://github.com/a7p .. _@a7p: https://github.com/a7p

View File

@ -7,6 +7,9 @@ variables:
POSTGRES_PASSWORD: '' POSTGRES_PASSWORD: ''
POSTGRES_DB: 'test_{{ cookiecutter.project_slug }}' POSTGRES_DB: 'test_{{ cookiecutter.project_slug }}'
POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_HOST_AUTH_METHOD: trust
{% if cookiecutter.use_celery == 'y' -%}
CELERY_BROKER_URL: 'redis://redis:6379/0'
{%- endif %}
flake8: flake8:
stage: lint stage: lint