From 3c2313b4189ef1dc5a401d904101194daf6bddf0 Mon Sep 17 00:00:00 2001 From: Timm Simpkins Date: Thu, 25 Nov 2021 10:55:03 -0500 Subject: [PATCH] Make `django` depend on `redis` in local Docker (#3265) Co-authored-by: Timm Simpkins Co-authored-by: Bruno Alla --- {{cookiecutter.project_slug}}/local.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/{{cookiecutter.project_slug}}/local.yml b/{{cookiecutter.project_slug}}/local.yml index 8cce827c..89c08782 100644 --- a/{{cookiecutter.project_slug}}/local.yml +++ b/{{cookiecutter.project_slug}}/local.yml @@ -13,6 +13,9 @@ services: container_name: django depends_on: - postgres + {%- if cookiecutter.use_celery == 'y' %} + - redis + {%- endif %} {%- if cookiecutter.use_mailhog == 'y' %} - mailhog {%- endif %}