| services: |
|
|
| quantumai: |
| build: |
| context: . |
| dockerfile: Dockerfile |
| container_name: quantumai |
| restart: unless-stopped |
| ports: |
| - "8000:8000" |
|
|
| environment: |
| |
| |
| GROQ_API_KEY: ${GROQ_API_KEY} |
| HUGGINGFACEHUB_API_TOKEN: ${HUGGINGFACEHUB_API_TOKEN} |
|
|
| |
| |
| LOG_LEVEL: ${LOG_LEVEL:-info} |
|
|
| volumes: |
| |
| - chroma_data:/app/chroma_db |
|
|
| healthcheck: |
| test: ["CMD", "curl", "-f", "http://localhost:8000/health"] |
| interval: 30s |
| timeout: 10s |
| retries: 3 |
| start_period: 60s |
|
|
| |
| deploy: |
| resources: |
| limits: |
| memory: 2g |
| reservations: |
| memory: 512m |
|
|
| volumes: |
| chroma_data: |
| driver: local |