Add django and postgres envs to celeryworker and celerybeat

This commit is contained in:
Bo Peng 2020-01-28 19:16:37 -06:00
parent 2698867cf8
commit 2b7f7ec4d7

View File

@ -51,11 +51,16 @@ services:
<<: *django
image: {{ cookiecutter.project_slug }}_production_celeryworker
command: /start-celeryworker
env_file:
- ./.envs/.production/.django
- ./.envs/.production/.postgres
celerybeat:
<<: *django
image: {{ cookiecutter.project_slug }}_production_celerybeat
command: /start-celerybeat
env_file:
- ./.envs/.production/.postgres
flower:
<<: *django