diff --git a/{{cookiecutter.project_slug}}/local.yml b/{{cookiecutter.project_slug}}/local.yml index 8c0e2e89..3222ec12 100644 --- a/{{cookiecutter.project_slug}}/local.yml +++ b/{{cookiecutter.project_slug}}/local.yml @@ -58,6 +58,7 @@ services: {%- endif %} env_file: - ./.envs/.local/.celery + - ./.envs/.local/.postgres ports: [] command: /start-celeryworker.sh @@ -71,6 +72,7 @@ services: {%- endif %} env_file: - ./.envs/.local/.celery + - ./.envs/.local/.postgres ports: [] command: /start-celerybeat.sh diff --git a/{{cookiecutter.project_slug}}/production.yml b/{{cookiecutter.project_slug}}/production.yml index c2b6fccf..1581bea0 100644 --- a/{{cookiecutter.project_slug}}/production.yml +++ b/{{cookiecutter.project_slug}}/production.yml @@ -56,6 +56,7 @@ services: - redis env_file: - ./.envs/.production/.celery + - ./.envs/.production/.postgres command: /start-celeryworker.sh celerybeat: @@ -65,6 +66,7 @@ services: - redis env_file: - ./.envs/.production/.celery + - ./.envs/.production/.postgres command: /start-celerybeat.sh {%- endif %}