customeragent-api / server /render.yaml
anasraza526's picture
Clean deploy to Hugging Face
ac90985
services:
- type: web
name: customeragent-api
env: python
buildCommand: "./render-build.sh"
startCommand: "uvicorn app.main:app --host 0.0.0.0 --port $PORT"
envVars:
- key: DATABASE_URL
sync: false
- key: SECRET_KEY
generateValue: true
- key: OPENAI_API_KEY
sync: false
- key: REDIS_URL
sync: false
- key: SENTRY_DSN
sync: false
- key: ALLOWED_ORIGINS
value: "https://yourdomain.com,https://www.yourdomain.com"
databases:
- name: customeragent-db
databaseName: customeragent
user: customeragent