# ═══════════════════════════════════════════════════════════════════════════════ # Override для разработки: hot reload, volume mounts, DEBUG режим # Использование: docker compose -f docker-compose.yml -f docker-compose.dev.yml up # ═══════════════════════════════════════════════════════════════════════════════ services: api: build: context: ./services/api dockerfile: Dockerfile command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload --reload-dir /app/app volumes: - ./services/api:/app environment: DEBUG: "true" ENVIRONMENT: development worker-gpu: build: context: ./services/worker-gpu dockerfile: Dockerfile command: celery -A app.celery_app worker -Q queue.gpu -c 1 -n gpu@%h --loglevel=debug volumes: - ./services/worker-gpu:/app environment: DEBUG: "true" ENVIRONMENT: development worker-indexer: build: context: ./services/worker-indexer dockerfile: Dockerfile command: celery -A app.celery_app worker -Q queue.index -c 2 -n indexer@%h --loglevel=debug volumes: - ./services/worker-indexer:/app environment: DEBUG: "true" ENVIRONMENT: development worker-notifier: build: context: ./services/worker-notifier dockerfile: Dockerfile command: celery -A app.celery_app worker -Q queue.notify -c 2 -n notifier@%h --loglevel=debug volumes: - ./services/worker-notifier:/app environment: DEBUG: "true" ENVIRONMENT: development worker-gost: build: context: ./services/worker-gost dockerfile: Dockerfile command: celery -A app.celery_app worker -Q queue.gost -c 2 -n gost@%h --loglevel=debug volumes: - ./services/worker-gost:/app environment: DEBUG: "true" ENVIRONMENT: development