# ── 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=Vita # ── 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 /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