forked from NguyenHoangKimYen/toy-store
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
74 lines (71 loc) · 1.81 KB
/
Copy pathrender.yaml
File metadata and controls
74 lines (71 loc) · 1.81 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
68
69
70
71
72
73
74
services:
- type: pserv
name: milkybloom-qdrant
runtime: docker
dockerfilePath: qdrant/Dockerfile
dockerContext: qdrant
autoDeploy: true
disk:
name: qdrant-storage
mountPath: /qdrant/storage
sizeGB: 5
- type: web
name: milkybloom-backend
runtime: node
rootDir: backend
autoDeploy: true
buildCommand: npm ci
startCommand: npm start
healthCheckPath: /health
envVars:
- key: NODE_ENV
value: production
- key: AGENTIC_AI_WS_URL
fromService:
name: milkybloom-agentic
type: web
envVarKey: RENDER_EXTERNAL_URL
- key: AGENTIC_AI_BASE_URL
fromService:
name: milkybloom-agentic
type: web
envVarKey: RENDER_EXTERNAL_URL
- type: web
name: milkybloom-agentic
runtime: python
rootDir: agentic-ai
autoDeploy: true
buildCommand: pip install --no-cache-dir -r requirements.render.txt
startCommand: python ws_server.py
healthCheckPath: /health
initialDeployHook: python python/bootstrap_qdrant.py
envVars:
- key: AGENTIC_WARMUP
value: "false"
- key: BACKEND_URL
fromService:
name: milkybloom-backend
type: web
envVarKey: RENDER_EXTERNAL_URL
- key: QDRANT_HOSTPORT
fromService:
name: milkybloom-qdrant
type: pserv
property: hostport
- type: web
name: milkybloom-frontend
runtime: static
rootDir: frontend
autoDeploy: true
buildCommand: npm ci && npm run build
staticPublishPath: dist
routes:
- type: rewrite
source: /*
destination: /index.html
envVars:
- key: VITE_API_URL
fromService:
name: milkybloom-backend
type: web
envVarKey: RENDER_EXTERNAL_URL