Spaces:
Build error
Build error
File size: 928 Bytes
a282d4b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | services:
- type: web
name: bankbot-api
runtime: python
buildCommand: pip install -r requirements.txt
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT --workers 2
healthCheckPath: /health
envVars:
- key: DATABASE_URL
fromDatabase:
name: bankbot-db
property: connectionString
- key: REDIS_URL
fromService:
name: bankbot-redis
type: redis
property: connectionString
- key: JWT_SECRET_KEY
generateValue: true
- key: OPENAI_API_KEY
sync: false
- key: GROQ_API_KEY
sync: false
- key: BACKEND_CORS_ORIGINS
value: '["https://bankbot.vercel.app"]'
- key: ACCESS_TOKEN_EXPIRE_MINUTES
value: "60"
databases:
- name: bankbot-db
databaseName: bankbot
user: bankbot_user
plan: free
- name: bankbot-redis
type: redis
plan: free
|