Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
set -o errexit
set -o nounset


until timeout 10 celery -A config.celery_app inspect ping; do
>&2 echo "Celery workers not available"
done

echo 'Starting flower'


exec watchfiles --filter python celery.__main__.main \
--args \
"-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
Expand Up @@ -4,6 +4,14 @@ set -o errexit
set -o nounset



until timeout 10 celery -A config.celery_app inspect ping; do
>&2 echo "Celery workers not available"
done

echo 'Starting flower'


exec celery \
-A config.celery_app \
-b "${CELERY_BROKER_URL}" \
Expand Down