mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-14 00:44:53 +03:00
Add django and postgres envs to celeryworker and celerybeat
This commit is contained in:
parent
2698867cf8
commit
2b7f7ec4d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user