Make django depend on redis in local Docker (#3265)

Co-authored-by: Timm Simpkins <timm@talova.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
This commit is contained in:
Timm Simpkins 2021-11-25 10:55:03 -05:00 committed by GitHub
parent f8a975a3c3
commit 3c2313b418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,9 @@ services:
container_name: django container_name: django
depends_on: depends_on:
- postgres - postgres
{%- if cookiecutter.use_celery == 'y' %}
- redis
{%- endif %}
{%- if cookiecutter.use_mailhog == 'y' %} {%- if cookiecutter.use_mailhog == 'y' %}
- mailhog - mailhog
{%- endif %} {%- endif %}