-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
57 lines (50 loc) · 2.91 KB
/
render.yaml
File metadata and controls
57 lines (50 loc) · 2.91 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
services:
- type: web
name: swan-lake-cc
runtime: node
plan: starter # $7/mo — keeps the instance always on (no cold starts)
buildCommand: npm install --legacy-peer-deps && npm run db:migrate && npm run build
startCommand: npm start
healthCheckPath: /
envVars:
# ── Database (Neon) ───────────────────────────────────────────────────────
- key: DATABASE_URL
sync: false # paste from Neon dashboard — use the pooled connection string
# ── NextAuth ──────────────────────────────────────────────────────────────
- key: AUTH_SECRET
generateValue: true # Render auto-generates a secure random value
- key: NEXTAUTH_URL
sync: false # e.g. https://swan-lake-cc.onrender.com
# ── App URL (used in emails) ──────────────────────────────────────────────
- key: NEXT_PUBLIC_SITE_URL
sync: false # same as NEXTAUTH_URL
# ── OAuth (optional) ──────────────────────────────────────────────────────
- key: GOOGLE_CLIENT_ID
sync: false
- key: GOOGLE_CLIENT_SECRET
sync: false
- key: APPLE_ID
sync: false
- key: APPLE_SECRET
sync: false
# ── Square Payments ───────────────────────────────────────────────────────
- key: SQUARE_ACCESS_TOKEN
sync: false
- key: SQUARE_APPLICATION_ID
sync: false
- key: SQUARE_LOCATION_ID
sync: false
- key: SQUARE_ENVIRONMENT
value: sandbox # change to "production" when ready to go live
# ── QuickBooks (optional) ─────────────────────────────────────────────────
- key: QUICKBOOKS_CLIENT_ID
sync: false
- key: QUICKBOOKS_CLIENT_SECRET
sync: false
# ── First-run admin password ──────────────────────────────────────────────
# Only used on first db:migrate. Remove after first deploy.
- key: ADMIN_PASSWORD
sync: false
# ── Billing cron (optional) ───────────────────────────────────────────────
- key: CRON_SECRET
generateValue: true