Files
anti-plagiarism/docker-compose.dev.yml
jze9 9ee5ccdc3f chore: remove obsolete version field from compose files
Docker Compose v2 игнорирует поле version и выдаёт warning.
Удалено из обоих файлов согласно актуальной документации.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 00:16:14 +05:00

62 lines
2.1 KiB
YAML

# ═══════════════════════════════════════════════════════════════════════════════
# 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