-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
27 lines (26 loc) · 719 Bytes
/
render.yaml
File metadata and controls
27 lines (26 loc) · 719 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
services:
- type: web
name: sql-auditor-backend
env: python
buildCommand: pip install -r requirements.txt
startCommand: uvicorn backend.app:app --host 0.0.0.0 --port $PORT
envVars:
- key: SQLAUDITOR_LOG_LEVEL
value: INFO
- key: DEFAULT_DIALECT
value: postgres
- key: OPENAI_API_KEY
sync: false
- key: SQLAUDITOR_API_KEY
generateValue: true
- type: web
name: sql-auditor-frontend
env: static
buildCommand: cd frontend && npm install && npm run build
staticPublishDir: frontend/dist
envVars:
- key: VITE_API_URL
fromService:
name: sql-auditor-backend
type: web
property: host