| services: | |
| - type: web | |
| name: hf-viz-backend | |
| env: python | |
| buildCommand: pip install -r requirements.txt | |
| startCommand: cd backend && uvicorn api.main:app --host 0.0.0.0 --port $PORT | |
| envVars: | |
| - key: PORT | |
| value: 8000 | |
| - key: SAMPLE_SIZE | |
| value: 5000 | |
| - key: FRONTEND_URL | |
| sync: false # Set this to your Netlify frontend URL | |
| plan: starter # Adjust based on your needs (starter, standard, pro) | |
| region: oregon # Choose your preferred region | |
| healthCheckPath: /docs | |