mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-30 21:44:06 +03:00
275c13292c
* Integrate Flower with Docker Compose setup locally * Remove alien worker celeryd option * Move Flower COPY section below the worker's * Remove set -o pipefail command from Flower start script * Flower client authentication * Override flower service image name * Move flower service to the end of local.yml * Install flower==0.9.2 in all environments * Introduce production flower service * Fix local flower start script * Document Flower integration * Prettify *.django envs Rationale: consistency. * Reference local environment Flower docs from the production's * 'two more services' -> 'three more services'
11 lines
214 B
Bash
11 lines
214 B
Bash
#!/bin/sh
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
|
|
|
|
celery flower \
|
|
--app={{cookiecutter.project_slug}}.taskapp \
|
|
--broker="${CELERY_BROKER_URL}" \
|
|
--basic_auth="${CELERY_FLOWER_USER}:${CELERY_FLOWER_PASSWORD}"
|