mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 19:14:03 +03:00
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:
parent
f8a975a3c3
commit
3c2313b418
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user