You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
273 B

  1. #!/usr/bin/env bash
  2. set -o errexit
  3. set -o nounset
  4. cd /backend
  5. (
  6. echo "Waiting for database"
  7. python manage.py wait_for_db
  8. echo "Starting flower"
  9. if [[ -n "${FLOWER_BASIC_AUTH:-}" ]]; then
  10. celery --app=config flower --basic_auth="${FLOWER_BASIC_AUTH}"
  11. fi
  12. )