Skip to content

Commit 87307d1

Browse files
committed
Stop watching files when running celery and flower on local
1 parent cf7847f commit 87307d1

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

compose/local/django/celery/flower/start

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
set -o errexit
44
set -o nounset
55

6-
exec watchfiles celery.__main__.main \
7-
--args \
8-
"-A config.celery_app -b \"${CELERY_BROKER_URL}\" flower --basic_auth=\"${CELERY_FLOWER_USER}:${CELERY_FLOWER_PASSWORD}\""
6+
exec celery \
7+
-A config.celery_app \
8+
-b "${CELERY_BROKER_URL}" \
9+
flower \
10+
--basic_auth="${CELERY_FLOWER_USER}:${CELERY_FLOWER_PASSWORD}"

compose/local/django/celery/worker/start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set -o errexit
44
set -o nounset
55

66

7-
exec watchfiles celery.__main__.main --args '-A config.celery_app worker -l INFO'
7+
exec celery -A config.celery_app worker -l INFO

compose/local/django/start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ set -o nounset
66

77

88
python manage.py migrate
9-
exec python manage.py runserver_plus 0.0.0.0:8000
9+
exec python manage.py runserver 0.0.0.0:8000

0 commit comments

Comments
 (0)