Первый трай фикса celery

This commit is contained in:
2025-12-02 16:44:19 +03:00
parent 889899080a
commit 3388f787c7
7 changed files with 242 additions and 5 deletions

View File

@@ -21,14 +21,14 @@ services:
image: https://registry.geraltserv.ru/geolocation:latest
env_file:
- .env.prod
#entrypoint: []
command: ["uv", "run", "celery", "-A", "dbapp", "worker", "--loglevel=INFO"]
entrypoint: ["/app/entrypoint-celery.sh"]
command: ["uv", "run", "celery", "-A", "dbapp", "worker", "--loglevel=INFO", "--concurrency=2"]
depends_on:
- db
- redis
- web
volumes:
- ./logs:/app/logs
restart: unless-stopped
redis:
image: redis:7-alpine