Refactor celery command formatting in docker-compose.yml

Updated the Celery worker command in docker-compose.yml for better readability and consistency using line continuation characters. Ensured no functional changes were introduced during the formatting update.
This commit is contained in:
Egor Pavlovich Gorbunov 2025-05-07 04:08:36 +03:00
parent 5537830592
commit 1db400be6f

View file

@ -45,13 +45,13 @@ services:
build: . build: .
restart: always restart: always
command: > command: >
sh -c "poetry run celery -A evibes worker sh -c "poetry run celery -A evibes worker \
--loglevel=info --loglevel=info \
--concurrency=4 --concurrency=4 \
--autoscale=4,2 --autoscale=4,2 \
--max-tasks-per-child=100 --max-tasks-per-child=100 \
--max-memory-per-child=512000 --max-memory-per-child=512000 \
--soft-time-limit=7200 --soft-time-limit=7200 \
--time-limit=10800" --time-limit=10800"
volumes: volumes:
- .:/app - .:/app