-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
41 lines (39 loc) · 1.03 KB
/
render.yaml
File metadata and controls
41 lines (39 loc) · 1.03 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
services:
- type: web
name: privacy-sentinel-api
env: python
region: oregon
plan: free
buildCommand: |
pip install -r requirements.txt
playwright install chromium
startCommand: gunicorn -w 4 -k uvicorn.workers.UvicornWorker agent.api.summarizer:app --bind 0.0.0.0:10000
envVars:
- key: DATABASE_URL
fromDatabase:
name: privacy-sentinel-db
property: connectionString
- key: REDIS_URL
fromService:
type: keyvalue
name: privacy-sentinel-redis
property: connectionString
- key: LLM_MODE
value: production
- key: OPENAI_API_KEY
sync: false
- key: PYTHONPATH
value: /opt/render/project/src:/opt/render/project/src/agent
- key: PORT
value: 10000
- type: keyvalue
name: privacy-sentinel-redis
region: oregon
plan: free
ipAllowList:
- source: 0.0.0.0/0
description: everywhere
databases:
- name: privacy-sentinel-db
plan: free
region: oregon