-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.local.example
More file actions
36 lines (27 loc) · 2.73 KB
/
Copy pathenv.local.example
File metadata and controls
36 lines (27 loc) · 2.73 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
# ── Database ──────────────────────────────────────────────────────────────────
DATABASE_URL=postgresql://user:pass@host/vitareba?sslmode=require
# ── Auth (NextAuth 5) ─────────────────────────────────────────────────────────
AUTH_SECRET= # openssl rand -base64 32
AUTH_URL=http://localhost:3000 # full URL including protocol
# ── Google OAuth (optional — leave blank to disable) ─────────────────────────
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# ── Email (Resend) ────────────────────────────────────────────────────────────
RESEND_API_KEY=re_...
# Use onboarding@resend.dev until vitareba.ch is verified in Resend dashboard
RESEND_FROM=VitaReBa <onboarding@resend.dev>
# ── Admin ─────────────────────────────────────────────────────────────────────
ADMIN_EMAILS=manuel@surfyourlife.org # comma-separated for multiple admins
# ── Cron security (required — all /api/cron/* routes verify this) ─────────────
CRON_SECRET= # openssl rand -hex 32
# ── Calendly integration ──────────────────────────────────────────────────────
NEXT_PUBLIC_CALENDLY_URL=https://calendly.com/your-calendly-link
CALENDLY_WEBHOOK_SIGNING_KEY= # from Calendly Developer → Webhooks
# ── Public URLs (used in emails and OG tags) ──────────────────────────────────
NEXT_PUBLIC_SITE_URL=https://vitareba.ch # canonical marketing URL
NEXT_PUBLIC_APP_URL=https://vitareba.ch # portal URL used in email links
# ── Document uploads (local disk, served by Caddy) ───────────────────────────
UPLOADS_DIR= # optional; defaults to <cwd>/uploads
# ── Sentry error tracking (optional — no-ops when unset) ─────────────────────
NEXT_PUBLIC_SENTRY_DSN= # set from sentry.io project settings to enable error tracking
SENTRY_AUTH_TOKEN= # optional, build-time only — enables sourcemap upload