-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathrender.yaml
More file actions
78 lines (74 loc) · 2.6 KB
/
Copy pathrender.yaml
File metadata and controls
78 lines (74 loc) · 2.6 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# render.yaml — AgentWatch Render Blueprint
#
# DEPLOY STEPS:
# 1. Push this repo to GitHub (already done)
# 2. dashboard.render.com → New → Blueprint
# 3. Connect the sreerevanth/AgentWatch repo
# 4. Render reads this file and creates all services automatically
# 5. Click "Apply" — both services + postgres + redis spin up
#
# Free tier note: web services spin down after 15 min of inactivity.
# Upgrade to Starter ($7/mo each) for always-on.
databases:
- name: agentwatch-db
databaseName: agentwatch
user: agentwatch
plan: free
region: oregon
services:
# ── Redis ─────────────────────────────────────────────────────────
- type: redis
name: agentwatch-redis
plan: free
maxmemoryPolicy: noeviction
ipAllowList: []
# ── FastAPI backend ────────────────────────────────────────────────
- type: web
name: agentwatch-api
runtime: docker
dockerfilePath: ./Dockerfile.api
dockerContext: .
plan: free
region: oregon
healthCheckPath: /health
envVars:
- key: DATABASE_URL
fromDatabase:
name: agentwatch-db
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: agentwatch-redis
property: connectionString
- key: CELERY_BROKER_URL
fromService:
type: redis
name: agentwatch-redis
property: connectionString
- key: AGENTWATCH_ENV
value: production
# Optional: set SLACK_WEBHOOK_URL here to enable safety alerts
# - key: SLACK_WEBHOOK_URL
# value: https://hooks.slack.com/services/...
# ── Next.js dashboard ─────────────────────────────────────────────
- type: web
name: agentwatch-frontend
runtime: docker
dockerfilePath: ./frontend/Dockerfile
dockerContext: ./frontend
plan: free
region: oregon
healthCheckPath: /api/health
dockerBuildArgs:
- key: NEXT_PUBLIC_API_HOST
value: agentwatch-api-zefd.onrender.com
- key: NEXT_PUBLIC_WS_URL
value: wss://agentwatch-api-zefd.onrender.com/ws/events
envVars:
- key: AGENTWATCH_API_URL
value: https://agentwatch-api-zefd.onrender.com
- key: NEXT_PUBLIC_API_HOST
value: agentwatch-api-zefd.onrender.com
- key: NODE_ENV
value: production