@ -10,7 +10,7 @@ cd /backend
python manage.py wait_for_db
echo "Starting flower"
if [[ -n "${FLOWER_BASIC_AUTH}" ]]; then
if [[ -n "${FLOWER_BASIC_AUTH:-}" ]]; then
celery --app=config flower --basic_auth="${FLOWER_BASIC_AUTH}"
fi
)
@ -44,7 +44,7 @@ celery --app=config worker --loglevel=INFO --concurrency="${CELERY_WORKERS:-1}"
celery_pid="$!"
celery --app=config flower --basic_auth="${FLOWER_BASIC_AUTH}" &