Move flower service to the end of local.yml

This commit is contained in:
Nikita P. Shupeyko 2018-06-10 21:32:06 +03:00
parent 0c47b3235b
commit f16360fb72

View File

@ -44,13 +44,6 @@ services:
{%- endif %}
{%- if cookiecutter.use_celery == 'y' %}
flower:
<<: *django
image: {{ cookiecutter.project_slug }}_local_flower
ports:
- "5555:5555"
command: /start-flower
redis:
image: redis:3.2
@ -78,4 +71,11 @@ services:
ports: []
command: /start-celerybeat
flower:
<<: *django
image: {{ cookiecutter.project_slug }}_local_flower
ports:
- "5555:5555"
command: /start-flower
{%- endif %}