services: api: build: context: ./backend env_file: .env environment: DATABASE_URL: postgresql+psycopg://callscribe:callscribe@db:5432/callscribe REDIS_URL: redis://redis:6379/0 USE_CELERY: "true" LOCAL_STORAGE_ROOT: /app/.data ports: - "8000:8000" volumes: - backend-data:/app/.data - model-cache:/root/.cache/huggingface depends_on: db: condition: service_healthy redis: condition: service_started command: uvicorn app.main:app --host 0.0.0.0 --port 8000 worker: build: context: ./backend env_file: .env environment: DATABASE_URL: postgresql+psycopg://callscribe:callscribe@db:5432/callscribe REDIS_URL: redis://redis:6379/0 USE_CELERY: "true" LOCAL_STORAGE_ROOT: /app/.data volumes: - backend-data:/app/.data - model-cache:/root/.cache/huggingface depends_on: db: condition: service_healthy redis: condition: service_started command: celery -A app.workers.celery_app.celery_app worker --loglevel=info -Q transcribe,training web: build: context: ./frontend/web env_file: .env ports: - "5173:5173" depends_on: - api command: npm run dev -- --host 0.0.0.0 db: image: postgres:16-alpine environment: POSTGRES_USER: callscribe POSTGRES_PASSWORD: callscribe POSTGRES_DB: callscribe ports: - "5432:5432" volumes: - pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U callscribe -d callscribe"] interval: 5s timeout: 5s retries: 10 redis: image: redis:7-alpine ports: - "6379:6379" minio: image: minio/minio:latest command: server /data --console-address ":9001" environment: MINIO_ROOT_USER: minioadmin MINIO_ROOT_PASSWORD: minioadmin ports: - "9000:9000" - "9001:9001" volumes: - miniodata:/data volumes: backend-data: model-cache: pgdata: miniodata: