File tree Expand file tree Collapse file tree
{{cookiecutter.project_slug}}/compose
local/django/celery/flower
production/django/celery/flower Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33set -o errexit
44set -o nounset
55
6+
7+ until timeout 10 celery -A config.celery_app inspect ping; do
8+ >&2 echo " Celery workers not available"
9+ done
10+
11+ echo ' Starting flower'
12+
13+
614exec watchfiles --filter python celery.__main__.main \
715 --args \
816 " -A config.celery_app -b \" ${CELERY_BROKER_URL} \" flower --basic_auth=\" ${CELERY_FLOWER_USER} :${CELERY_FLOWER_PASSWORD} \" "
Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ set -o errexit
44set -o nounset
55
66
7+
8+ until timeout 10 celery -A config.celery_app inspect ping; do
9+ >&2 echo " Celery workers not available"
10+ done
11+
12+ echo ' Starting flower'
13+
14+
715exec celery \
816 -A config.celery_app \
917 -b " ${CELERY_BROKER_URL} " \
You can’t perform that action at this time.
0 commit comments