Spaces:
Runtime error
Runtime error
Upload render.yaml with huggingface_hub
Browse files- render.yaml +19 -0
render.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
services:
|
| 2 |
+
- name: todo-backend
|
| 3 |
+
type: web
|
| 4 |
+
env: python
|
| 5 |
+
region: oregon
|
| 6 |
+
plan: free
|
| 7 |
+
buildCommand: pip install -r requirements.txt
|
| 8 |
+
startCommand: uvicorn src.main:app --host 0.0.0.0 --port ${PORT}
|
| 9 |
+
envVars:
|
| 10 |
+
- key: ENVIRONMENT
|
| 11 |
+
value: production
|
| 12 |
+
- key: DATABASE_URL
|
| 13 |
+
sync: false
|
| 14 |
+
- key: SECRET_KEY
|
| 15 |
+
sync: false
|
| 16 |
+
- key: ALGORITHM
|
| 17 |
+
value: HS256
|
| 18 |
+
- key: ACCESS_TOKEN_EXPIRE_MINUTES
|
| 19 |
+
value: "30"
|