Update celery

This commit is contained in:
Sonny Bakker 2023-07-02 09:06:21 +02:00
parent 858c2c6eb3
commit b06af33a19
8 changed files with 226 additions and 53 deletions

View file

@ -51,14 +51,14 @@ services:
environment:
<<: *django-env
command: |
celery worker -n worker1@%h
-n worker2@%h
--app newsreader
--loglevel INFO
--concurrency 2
celery --app newsreader
--workdir /app/src/
worker --loglevel INFO
--concurrency 2
--beat
--scheduler django
-n worker1@%h
-n worker2@%h
depends_on:
rabbitmq:
condition: service_started