Spaces:
Paused
Paused
feat: moving to the render(render.yaml added)
Browse files- render.yaml +21 -0
render.yaml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# render.yaml
|
| 2 |
+
|
| 3 |
+
services:
|
| 4 |
+
- type: web
|
| 5 |
+
name: telegram-bot
|
| 6 |
+
runtime: python
|
| 7 |
+
plan: free
|
| 8 |
+
branch: main
|
| 9 |
+
buildCommand: pip install -r requirements.txt
|
| 10 |
+
startCommand: uvicorn app:app --host 0.0.0.0 --port 10000
|
| 11 |
+
envVars:
|
| 12 |
+
- key: BOT_TOKEN
|
| 13 |
+
sync: false
|
| 14 |
+
- key: BASE_URL
|
| 15 |
+
sync: false
|
| 16 |
+
- key: HF_TOKEN
|
| 17 |
+
sync: false
|
| 18 |
+
- key: BOT_SECRET_PASSWORD
|
| 19 |
+
sync: false
|
| 20 |
+
- key: FILE_RFP_EXCEL_COUNT
|
| 21 |
+
value: "200"
|