-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
39 lines (37 loc) · 862 Bytes
/
render.yaml
File metadata and controls
39 lines (37 loc) · 862 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
- type: web
name: veritas-ml-engine
runtime: python
plan: free
rootDir: ml_engine
buildCommand: pip install -r requirements.txt
startCommand: python api.py
healthCheckPath: /health
envVars:
- key: PYTHON_VERSION
value: 3.11.10
- type: web
name: veritas-server
runtime: node
plan: free
rootDir: server
buildCommand: npm ci
startCommand: node server.js
healthCheckPath: /api/health
envVars:
- key: ML_ENGINE_URL
sync: false
- key: CORS_ORIGINS
sync: false
- type: static
name: veritas-frontend
rootDir: frontend
buildCommand: npm ci && npm run build
staticPublishPath: dist
envVars:
- key: VITE_API_BASE_URL
sync: false
routes:
- type: rewrite
source: /*
destination: /index.html