-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
52 lines (50 loc) · 1.31 KB
/
render.yaml
File metadata and controls
52 lines (50 loc) · 1.31 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
services:
- type: web
name: ai-workflow-api
plan: standard
env: python
buildCommand: pip install -r requirements.txt
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
healthCheckPath: /health
disk:
name: data
mountPath: /data
sizeGB: 1
envVars:
- key: DATABASE_URL
value: sqlite+aiosqlite:///data/workflow.db
- key: REDIS_URL
fromService:
type: keyvalue
name: workflow-redis
property: connectionString
- key: ANTHROPIC_API_KEY
sync: false
- key: LOG_LEVEL
value: INFO
- type: worker
name: ai-workflow-worker
plan: standard
env: python
buildCommand: pip install -r requirements.txt
startCommand: python -m arq worker.worker.WorkerSettings
disk:
name: worker-data
mountPath: /data
sizeGB: 1
envVars:
- key: DATABASE_URL
value: sqlite+aiosqlite:///data/workflow.db
- key: REDIS_URL
fromService:
type: keyvalue
name: workflow-redis
property: connectionString
- key: ANTHROPIC_API_KEY
sync: false
- type: keyvalue
name: workflow-redis
plan: standard
ipAllowList:
- source: 0.0.0.0/0
description: allow all (internal only via Render private network)