-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
39 lines (39 loc) · 987 Bytes
/
Copy pathrender.yaml
File metadata and controls
39 lines (39 loc) · 987 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: caliber-api
runtime: python
rootDir: backend
plan: free
buildCommand: pip install -r requirements.txt
startCommand: python -m app.seed && uvicorn app.main:app --host 0.0.0.0 --port $PORT
healthCheckPath: /health
envVars:
- key: PYTHON_VERSION
value: 3.12.6
- key: DATABASE_URL
fromDatabase:
name: caliber-db
property: connectionString
- key: KAFKA_TOPIC
value: inference-events
- key: KAFKA_BOOTSTRAP_SERVERS
sync: false
- type: web
name: caliber-web
runtime: static
rootDir: frontend
buildCommand: npm install && npm run build
staticPublishPath: dist
pullRequestPreviewsEnabled: false
routes:
- type: rewrite
source: /*
destination: /index.html
envVars:
- key: VITE_API_URL
sync: false
- key: VITE_WS_URL
sync: false
databases:
- name: caliber-db
plan: free