-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
67 lines (66 loc) · 1.58 KB
/
render.yaml
File metadata and controls
67 lines (66 loc) · 1.58 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
63
64
65
66
67
services:
# Backend API Service
- type: web
name: reachinbox-backend
runtime: node
region: oregon
plan: free
branch: main
rootDir: backend
buildCommand: npm ci --production=false && npm run build
startCommand: npm start
healthCheckPath: /api/health
envVars:
- key: NODE_VERSION
value: "20.11.0"
- key: NODE_ENV
value: production
- key: PORT
value: 10000
- key: ELASTICSEARCH_NODE
sync: false
- key: GEMINI_API_KEY
sync: false
- key: PINECONE_API_KEY
sync: false
- key: EMAIL_1_ADDRESS
sync: false
- key: EMAIL_1_PASSWORD
sync: false
- key: EMAIL_1_IMAP_HOST
sync: false
- key: EMAIL_1_IMAP_PORT
sync: false
- key: EMAIL_2_ADDRESS
sync: false
- key: EMAIL_2_PASSWORD
sync: false
- key: EMAIL_2_IMAP_HOST
sync: false
- key: EMAIL_2_IMAP_PORT
sync: false
- key: SLACK_BOT_TOKEN
sync: false
- key: SLACK_CHANNEL_ID
sync: false
- key: WEBHOOK_URL
sync: false
- key: SKIP_INITIAL_SYNC
value: "true"
# Frontend Static Site
- type: web
name: reachinbox-frontend
runtime: static
region: oregon
plan: free
branch: main
rootDir: frontend
buildCommand: npm install && npm run build
staticPublishPath: dist
routes:
- type: rewrite
source: /*
destination: /index.html
envVars:
- key: VITE_API_URL
value: https://reachinbox-backend.onrender.com/api