-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
63 lines (61 loc) · 1.49 KB
/
Copy pathrender.yaml
File metadata and controls
63 lines (61 loc) · 1.49 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
# Render.com deployment configuration
services:
- type: web
name: prospectiq-api
env: docker
dockerfilePath: ./Dockerfile
healthCheckPath: /health
autoDeploy: true
envVars:
- key: PYTHON_VERSION
value: 3.11
- key: POETRY_VERSION
value: 1.7.1
- key: API_HOST
value: 0.0.0.0
- key: API_PORT
sync: false
value: 8000
- key: DATABASE_URL
fromDatabase:
name: prospectiq-db
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: prospectiq-redis
property: connectionString
- key: OPENAI_API_KEY
sync: false
- key: JWT_SECRET_KEY
generateValue: true
sync: false
- key: ADMIN_PASSWORD
generateValue: true
sync: false
- key: CORS_ORIGINS
sync: false
value: https://your-domain.com
- key: ENVIRONMENT
value: production
- key: DEBUG
value: false
plan: standard
region: oregon
buildCommand: poetry install --no-dev
startCommand: uvicorn backend.api.app:app --host 0.0.0.0 --port $PORT --workers 4
databases:
- name: prospectiq-db
databaseName: profiles
plan: standard
region: oregon
postgresMajorVersion: 17
extensions:
- pgvector
# Optional: Redis for caching
# services:
# - type: redis
# name: prospectiq-redis
# plan: standard
# region: oregon
# maxmemoryPolicy: allkeys-lru