cookiecutter-django/{{cookiecutter.project_slug}}/compose/local/django/celery/flower/start
Chao Yang Wu 51f4374a8a
Fix graceful shutdown of local dev containers and use watchfiles for beat + flower (#3925)
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-11-23 14:51:20 +00:00

9 lines
224 B
Bash

#!/bin/bash
set -o errexit
set -o nounset
exec watchfiles celery.__.main__.main \
--args \
"-A config.celery_app -b \"${CELERY_BROKER_URL}\" flower --basic_auth=\"${CELERY_FLOWER_USER}:${CELERY_FLOWER_PASSWORD}\""