aboutsummaryrefslogtreecommitdiffstats
path: root/compose/production/django/celery/flower/start
diff options
context:
space:
mode:
Diffstat (limited to 'compose/production/django/celery/flower/start')
-rw-r--r--compose/production/django/celery/flower/start11
1 files changed, 11 insertions, 0 deletions
diff --git a/compose/production/django/celery/flower/start b/compose/production/django/celery/flower/start
new file mode 100644
index 0000000..4180d67
--- /dev/null
+++ b/compose/production/django/celery/flower/start
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -o errexit
+set -o nounset
+
+
+exec celery \
+ -A config.celery_app \
+ -b "${CELERY_BROKER_URL}" \
+ flower \
+ --basic_auth="${CELERY_FLOWER_USER}:${CELERY_FLOWER_PASSWORD}"