Spaces:
Build error
Build error
| version: "3.9" | |
| services: | |
| api: | |
| build: . | |
| ports: | |
| - "8000:8000" | |
| env_file: | |
| - .env | |
| environment: | |
| - QDRANT_URL=http://qdrant:6333 | |
| volumes: | |
| - ./data:/app/data | |
| depends_on: | |
| qdrant: | |
| condition: service_healthy | |
| command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload | |
| qdrant: | |
| image: qdrant/qdrant:v1.12.1 | |
| ports: | |
| - "6333:6333" | |
| - "6334:6334" | |
| volumes: | |
| - qdrant_data:/qdrant/storage | |
| healthcheck: | |
| test: ["CMD-SHELL", "curl -sf http://localhost:6333/healthz || exit 1"] | |
| interval: 5s | |
| timeout: 5s | |
| retries: 10 | |
| volumes: | |
| qdrant_data: | |