Spaces:
Build error
Build error
| 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 | |