mirror of
https://github.com/bitbaum/vitareba.git
synced 2026-12-05 06:48:03 +01:00
Documents all 12 env vars: DATABASE_URL, AUTH_SECRET, AUTH_URL, Google OAuth, RESEND_API_KEY, RESEND_FROM, ADMIN_EMAILS, CRON_SECRET, NEXT_PUBLIC_CALENDLY_URL, CALENDLY_WEBHOOK_SIGNING_KEY, NEXT_PUBLIC_SITE_URL, NEXT_PUBLIC_APP_URL, and BLOB_READ_WRITE_TOKEN. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
33 lines
2.5 KiB
Plaintext
33 lines
2.5 KiB
Plaintext
# ── 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.vercel.app # canonical marketing URL
|
|
NEXT_PUBLIC_APP_URL=https://vitareba.vercel.app # portal URL used in email links
|
|
|
|
# ── Vercel Blob (for document uploads) ───────────────────────────────────────
|
|
BLOB_READ_WRITE_TOKEN= # from Vercel Storage → Blob → project token
|