mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-14 17:04: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
|
<<: *django
|
||||||
image: {{ cookiecutter.project_slug }}_production_celeryworker
|
image: {{ cookiecutter.project_slug }}_production_celeryworker
|
||||||
command: /start-celeryworker
|
command: /start-celeryworker
|
||||||
|
env_file:
|
||||||
|
- ./.envs/.production/.django
|
||||||
|
- ./.envs/.production/.postgres
|
||||||
|
|
||||||
celerybeat:
|
celerybeat:
|
||||||
<<: *django
|
<<: *django
|
||||||
image: {{ cookiecutter.project_slug }}_production_celerybeat
|
image: {{ cookiecutter.project_slug }}_production_celerybeat
|
||||||
command: /start-celerybeat
|
command: /start-celerybeat
|
||||||
|
env_file:
|
||||||
|
- ./.envs/.production/.postgres
|
||||||
|
|
||||||
flower:
|
flower:
|
||||||
<<: *django
|
<<: *django
|
||||||
|
|
Loading…
Reference in New Issue
Block a user