Skip to content

Commit

Permalink
- Fix celery worker command
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Oct 26, 2020
1 parent 097af33 commit 3cec8d6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker-compose.async.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ services:
- db
- elasticsearch
- rabbitmq
# command: celery worker --app=geonode.celery_app:app -B -l INFO
# command: celery -A geonode.celery_app:app worker -B -l INFO
volumes:
- statics:/mnt/volumes/statics
- geoserver-data-dir:/geoserver_data/data
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:

celery:
build: .
command: celery worker --app=geonode.celery_app:app --broker=amqp://guest:guest@rabbitmq:5672/ -B -l DEBUG
command: celery -A geonode.celery_app:app worker --broker=amqp://guest:guest@rabbitmq:5672/ -B -l DEBUG
depends_on:
- db
- elasticsearch
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/env/production/celery.env
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GEONODE_GEODATABASE_PASSWORD=geonode_data
ASYNC_SIGNALS=True
BROKER_URL=amqp://guest:guest@rabbitmq:5672
DOCKER_ENV=production
CELERY_CMD=celery worker --app=geonode.celery_app:app --broker=amqp://guest:guest@rabbitmq:5672/ -B -l INFO
CELERY_CMD=celery -A geonode.celery_app:app worker --broker=amqp://guest:guest@rabbitmq:5672/ -B -l INFO
IS_CELERY=true
C_FORCE_ROOT=1
SITEURL=http://localhost/
Expand Down
2 changes: 1 addition & 1 deletion scripts/spcgeonode/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
command: "uwsgi --chdir=/spcgeonode --module=geonode.wsgi --socket=:8000 --http=127.0.0.1:8001 --processes=5 --py-autoreload=2"
celery:
<< : *default-common-django
command: 'celery worker --app=geonode.celery_app:app -l debug'
command: 'celery -A geonode.celery_app:app worker -l debug'
celerybeat:
<< : *default-common-django
command: 'celery -A geonode.celery_app:app beat -s celerybeat-schedule.db --pidfile="/celerybeat.pid" -l debug'
Expand Down
2 changes: 1 addition & 1 deletion scripts/spcgeonode/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ services:
celery:
<< : *default-common-django
entrypoint: []
command: 'celery worker --app=geonode.celery_app:app -l info -E'
command: 'celery -A geonode.celery_app:app worker -l info -E'

# Celery beat that triggers scheduled tasks
celerybeat:
Expand Down

0 comments on commit 3cec8d6

Please sign in to comment.