-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
62 lines (61 loc) · 1.54 KB
/
Copy pathrender.yaml
File metadata and controls
62 lines (61 loc) · 1.54 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
services:
- type: web
name: pricepulseai-server
env: node
rootDir: server
buildCommand: npm install
startCommand: npm start
plan: free
branch: main
autoDeploy: true
envVars:
- key: PORT
value: 4000
- key: NODE_ENV
value: production
- key: MONGO_URI
sync: false
- key: CLIENT_ORIGIN
value: https://pricepulse-ai.vercel.app
- key: AI_SERVICE_URL
value: https://pricepulseai-ai.onrender.com
- key: JWT_SECRET
sync: false
- key: JWT_REFRESH_SECRET
sync: false
- key: EMAIL_USER
sync: false
- key: EMAIL_PASS
sync: false
- key: GOOGLE_CLIENT_ID
sync: false
- key: GOOGLE_CLIENT_SECRET
sync: false
- key: GITHUB_CLIENT_ID
sync: false
- key: GITHUB_CLIENT_SECRET
sync: false
- key: SERVER_BASE_URL
value: https://pricepulseai-server.onrender.com
healthCheckPath: /api/health
- type: web
name: pricepulseai-ai
env: python
rootDir: ai-service
buildCommand: pip install -r requirements.txt
startCommand: gunicorn --bind 0.0.0.0:$PORT app:app
plan: free
branch: main
autoDeploy: true
envVars:
- key: BACKEND_URL
value: https://pricepulseai-server.onrender.com
- key: FLASK_ENV
value: production
- key: MODEL_PATH
value: trained_models
- key: ENABLE_AUTO_TRAINING
value: "false"
- key: LOG_LEVEL
value: INFO
healthCheckPath: /health