Spaces:
Running
Running
services: | |
- type: web | |
name: chatbot-backend | |
env: python | |
region: ohio # Choose appropriate region | |
plan: starter # Or choose appropriate plan | |
buildCommand: pip install -r requirements.txt | |
startCommand: uvicorn src.main:app --host 0.0.0.0 --port $PORT | |
envVars: | |
- key: MONGODB_URI | |
sync: false | |
- key: OPENAI_API_KEY | |
sync: false | |
- key: ANTHROPIC_API_KEY | |
sync: false | |
- key: ADMIN_API_KEY | |
sync: false | |
- key: CHROMA_PATH | |
value: ./chroma_db | |
- key: DEBUG | |
value: "False" | |
- key: ENVIRONMENT | |
value: "production" | |
healthCheckPath: /health | |
autoDeploy: true |