-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
81 lines (74 loc) · 2.89 KB
/
render.yaml
File metadata and controls
81 lines (74 loc) · 2.89 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
79
80
81
# Render Blueprint - https://render.com/docs/blueprint-spec
# Deploy with: render blueprint apply
services:
- type: web
name: reddit-multi-poster
runtime: node
plan: free # or starter, standard, etc.
buildCommand: npm ci --include=dev && npm run build
startCommand: npm start
healthCheckPath: /api/health
envVars:
# ===========================================
# Supabase (Required)
# ===========================================
- key: NEXT_PUBLIC_SUPABASE_URL
sync: false # Set manually in Render dashboard
- key: NEXT_PUBLIC_SUPABASE_ANON_KEY
sync: false
- key: SUPABASE_SECRET_KEY
sync: false # Also accepts SUPABASE_SERVICE_ROLE_KEY
# ===========================================
# Reddit OAuth (Required)
# ===========================================
- key: REDDIT_CLIENT_ID
sync: false
- key: REDDIT_CLIENT_SECRET
sync: false
- key: REDDIT_REDIRECT_URI
sync: false # e.g., https://your-app.onrender.com/api/auth/callback
- key: REDDIT_USER_AGENT
sync: false # e.g., web:reddit-multi-poster:v1.0.0 (by /u/yourusername)
# ===========================================
# Sentry Error Tracking (Required for source maps)
# ===========================================
- key: NEXT_PUBLIC_SENTRY_DSN
sync: false
- key: SENTRY_ORG
sync: false # Your Sentry organization slug
- key: SENTRY_PROJECT
sync: false # Your Sentry project slug
- key: SENTRY_AUTH_TOKEN
sync: false # Sentry auth token for source map uploads
# ===========================================
# Environment
# ===========================================
- key: NODE_ENV
value: production
# ===========================================
# Dodo Payments (Required for paid features)
# ===========================================
- key: DODO_PAYMENTS_API_KEY
sync: false
- key: DODO_PAYMENTS_WEBHOOK_SECRET
sync: false
- key: DODO_PAYMENTS_PRODUCT_ID
sync: false
- key: DODO_PAYMENTS_ENVIRONMENT
value: live_mode # Use test_mode for testing
- key: DODO_PAYMENTS_RETURN_URL
sync: false # e.g., https://your-app.onrender.com/checkout/success
- key: NEXT_PUBLIC_DODO_PAYMENTS_ENVIRONMENT
value: live_mode
# ===========================================
# Admin (Required)
# ===========================================
- key: ADMIN_REDDIT_USERNAME
sync: false # Reddit username(s) with admin access
# ===========================================
# Optional
# ===========================================
# - key: GROQ_API_KEY
# sync: false # For AI-powered title tag parsing
# - key: KEEP_ALIVE_SECRET
# sync: false # Optional secret for /api/keep-alive