File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# standalone install method
22DOCKER_COMPOSE ?= docker-compose
3+ CELERY = cd contentcuration/ && celery -A contentcuration worker -l info --concurrency=3 --task-events
34
45# support new plugin installation for docker-compose
56ifeq (, $(shell command -v docker-compose 2>/dev/null) )
@@ -16,7 +17,7 @@ altprodserver: collectstatic compilemessages
1617 cd contentcuration/ && gunicorn contentcuration.wsgi:application --timeout=4000 --error-logfile=/var/log/gunicorn-error.log --workers=${NUM_PROCS} --threads=${NUM_THREADS} --bind=0.0.0.0:8081 --pid=/tmp/contentcuration.pid --log-level=debug || sleep infinity
1718
1819prodceleryworkers :
19- cd contentcuration/ && celery -A contentcuration worker -l info --concurrency=3 --task-events
20+ $( CELERY )
2021
2122collectstatic :
2223 python contentcuration/manage.py collectstatic --noinput
@@ -147,7 +148,7 @@ purge-postgres: .docker/pgpass
147148destroy-and-recreate-database : purge-postgres setup
148149
149150devceleryworkers :
150- $( MAKE ) -e DJANGO_SETTINGS_MODULE=contentcuration.dev_settings prodceleryworkers
151+ DJANGO_SETTINGS_MODULE=contentcuration.dev_settings $( CELERY ) --pool=threads
151152
152153run-services :
153154 $(MAKE ) -j 2 dcservicesup devceleryworkers
You can’t perform that action at this time.
0 commit comments