-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
55 lines (52 loc) · 1.45 KB
/
render.yaml
File metadata and controls
55 lines (52 loc) · 1.45 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
# Render Blueprint for Loop AI (Option A: managed deployment)
# Connect this repo in Render and add env vars in the dashboard (see docs/DEPLOYMENT.md).
services:
- type: web
name: loop-ai-api
runtime: python
rootDir: backend
buildCommand: pip install -r requirements.txt
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
envVars:
- key: REDIS_URL
fromService:
type: keyvalue
name: loop-ai-redis
property: connectionString
- key: SUPABASE_URL
sync: false
- key: SUPABASE_ANON_KEY
sync: false
- key: SUPABASE_SERVICE_ROLE_KEY
sync: false
- key: OPENROUTER_API_KEY
sync: false
- key: CORS_ORIGIN
sync: false
- key: SITE_URL
sync: false
- type: worker
name: loop-ai-worker
runtime: python
rootDir: backend
buildCommand: pip install -r requirements.txt
startCommand: python worker.py
envVars:
- key: REDIS_URL
fromService:
type: keyvalue
name: loop-ai-redis
property: connectionString
- key: SUPABASE_URL
sync: false
- key: SUPABASE_ANON_KEY
sync: false
- key: SUPABASE_SERVICE_ROLE_KEY
sync: false
- key: OPENROUTER_API_KEY
sync: false
- type: keyvalue
name: loop-ai-redis
ipAllowList:
- source: 0.0.0.0/0
description: allow all (services in same region use internal URL)