Spaces:
Running
Running
| version: "3.9" | |
| services: | |
| rag-api: | |
| build: . | |
| container_name: policydecoder-rag | |
| ports: | |
| - "8000:8000" | |
| env_file: | |
| - .env | |
| environment: | |
| - PYTHONUNBUFFERED=1 | |
| volumes: | |
| - /tmp/policydecoder_uploads:/tmp/policydecoder_uploads | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:8000/health/"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 60s | |