From 5b875f1bf857f05691b59be6bc8528f23715ce24 Mon Sep 17 00:00:00 2001 From: Sal Tijerina Date: Tue, 3 Sep 2024 10:37:19 -0500 Subject: [PATCH] WP-553: Update celery command to start celery beat --- conf/compose/docker-compose.workers.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/compose/docker-compose.workers.yml b/conf/compose/docker-compose.workers.yml index c223481..91197d4 100644 --- a/conf/compose/docker-compose.workers.yml +++ b/conf/compose/docker-compose.workers.yml @@ -7,7 +7,8 @@ services: volumes: - ${CAMINO_HOME}/conf/portal/settings_secret.py:/srv/www/portal/server/portal/settings/settings_secret.py:ro - ${CAMINO_HOME}/conf/portal/settings_custom.py:/srv/www/portal/server/portal/settings/settings_custom.py - command: "celery -A portal worker -Q default,indexing,files,api,onboard --concurrency=10" + command: sh -c "celery -A portal beat -l info --pidfile= --schedule=/tmp/celerybeat-schedule & + celery -A portal worker -Q default,indexing,files,api,onboard --concurrency=2" container_name: portal_workers logging: driver: syslog