-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
54 lines (51 loc) · 1.23 KB
/
render.yaml
File metadata and controls
54 lines (51 loc) · 1.23 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
services:
# FastAPI Backend
- type: web
name: veridas-backend
runtime: python
buildCommand: "pip install -r backend/requirements.txt"
startCommand: "cd backend && uvicorn app.main:app --host 0.0.0.0 --port $PORT"
envVars:
- key: PYTHON_VERSION
value: 3.11.0
- key: DATABASE_URL
fromDatabase:
name: veridas-db
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: veridas-redis
property: connectionString
- key: SECRET_KEY
generateValue: true
- key: FRONTEND_URL
sync: false
healthCheckPath: /
# PostgreSQL Database with pgvector
- type: pserv
name: veridas-db
runtime: docker
image: ankane/pgvector:latest
disk:
name: veridas-db-data
mountPath: /var/lib/postgresql/data
sizeGB: 1
envVars:
- key: POSTGRES_DB
value: veridas
- key: POSTGRES_USER
value: postgres
- key: POSTGRES_PASSWORD
generateValue: true
databases:
- name: veridas-db
databaseName: veridas
user: postgres
plan: free
# Redis
services:
- type: redis
name: veridas-redis
plan: free
maxmemoryPolicy: noeviction