-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
53 lines (48 loc) · 1.12 KB
/
render.yaml
File metadata and controls
53 lines (48 loc) · 1.12 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
services:
# Redis (Key-Value Store)
- type: redis
name: chatbot-redis
plan: free
ipAllowList:
- source: 0.0.0.0/0
# Backend API
- type: web
name: chatbot-backend
runtime: node
buildCommand: npm install && npm run build
startCommand: npm start
healthCheckPath: /health
rootDir: ./backend
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 10000
- key: REDIS_HOST
fromService:
type: redis
name: chatbot-redis
property: host
- key: REDIS_PORT
fromService:
type: redis
name: chatbot-redis
property: port
- key: REDIS_CONNECTION_STRING
fromService:
type: redis
name: chatbot-redis
property: connectionString
# Frontend
- type: web
name: chatbot-frontend
runtime: static
buildCommand: npm install && npm run build
staticPublishPath: ./dist
rootDir: ./frontend
envVars:
- key: VITE_BACKEND_URL
fromService:
type: web
name: chatbot-backend
property: host