-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
24 lines (24 loc) · 728 Bytes
/
render.yaml
File metadata and controls
24 lines (24 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
- type: web
name: tweetagent-api
runtime: python
pythonVersion: "3.11.11"
plan: free
buildCommand: pip install -r requirements.txt && mkdir -p data
startCommand: mkdir -p data && uvicorn backend.app:app --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHONPATH
value: /opt/render/project/src
- key: DB_PATH
value: /opt/render/project/src/data/agent.db
- key: JWT_SECRET
generateValue: true
- key: GEMINI_API_KEY
sync: false
- key: GEMINI_MODEL
value: gemini-2.0-flash
- key: TWEETS_PER_TOPIC
value: "3"
- key: FRONTEND_URL
value: https://tweetagent.vercel.app
healthCheckPath: /api/health