-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
42 lines (40 loc) · 1.41 KB
/
Copy pathrender.yaml
File metadata and controls
42 lines (40 loc) · 1.41 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
# render.yaml — defines all Render services in one file
# Render reads this automatically when you connect your GitHub repo
services:
# ── API (Web Service) ───────────────────────────────────────────────────────
- type: web
name: eventflow-api
runtime: docker
dockerfilePath: api/Dockerfile
dockerContext: .
plan: free
healthCheckPath: /health
envVars:
- key: NODE_ENV
value: production
- key: PORT
value: 3000
- key: DATABASE_URL
sync: false # you paste this from Neon
- key: REDIS_URL
sync: false # you paste this from Upstash
- key: API_KEYS
value: dev_key_123,portfolio_demo_key
- key: CORS_ORIGINS
sync: false # you paste your Vercel dashboard URL here later
# ── Worker (Background Worker) ──────────────────────────────────────────────
- type: worker
name: eventflow-worker
runtime: docker
dockerfilePath: worker/Dockerfile
dockerContext: .
plan: free
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
sync: false
- key: REDIS_URL
sync: false
- key: WORKER_CONCURRENCY
value: 2