-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathrender.yaml
More file actions
59 lines (56 loc) · 1.5 KB
/
render.yaml
File metadata and controls
59 lines (56 loc) · 1.5 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
databases:
- name: agentrelay-db
plan: starter
databaseName: agentrelay
user: agentrelay
postgresMajorVersion: 16
services:
# ── Redis ──
- type: redis
name: agentrelay-redis
plan: starter
maxmemoryPolicy: allkeys-lru
ipAllowList: [] # only internal access
# ── FastAPI Backend ──
- type: web
name: agentrelay-api
runtime: docker
plan: starter
region: oregon
dockerfilePath: ./Dockerfile
autoDeploy: true
branch: main
healthCheckPath: /health
envVars:
- key: DATABASE_URL
fromDatabase:
name: agentrelay-db
property: connectionString
- key: REDIS_URL
fromService:
name: agentrelay-redis
type: redis
property: connectionString
- key: APP_ENV
value: production
- key: CORS_ORIGINS
value: '["https://relay.mnemox.ai","https://agentrelay-dashboard.onrender.com","https://relay-api.mnemox.ai","http://localhost:3000"]'
- key: SECRET_KEY
generateValue: true
- key: ENABLE_REGENERATOR
value: "true"
# ── Next.js Dashboard ──
- type: web
name: agentrelay-dashboard
runtime: node
plan: starter
region: oregon
autoDeploy: true
branch: main
buildCommand: cd dashboard && npm install && npm run build
startCommand: cd dashboard && npm start
envVars:
- key: NEXT_PUBLIC_API_URL
value: https://agentrelay-api.onrender.com
- key: PORT
value: "3000"