Files
vitareba/env.local.example
CatoandClaude Opus 5 858c6d2dfb chore(email): the sender display name is Vita, not the retired VitaReBa (#106)
`RESEND_FROM` in the env template still carried "VitaReBa" as the display name —
the product name the clinic has retired. The clinic's own live title is
"Vita · Metabolische Psychiatrie & Systemische Longevity · Zürich", and the repo
already agrees everywhere it matters: `lib/config/company.ts` has been
`name: "Vita GmbH"` / `shortName: "Vita"` for a while, and DEFAULT_FROM_EMAIL is
built from it. The template was the last copy still disagreeing with that source
of truth — and it is the copy an operator pastes into a real `.env`, so it is
the one that would have put the dead name in front of patients.

Display name only. The address stays `onboarding@resend.dev`: the comment
directly above it explains that the sandbox sender is deliberate until
vitareba.ch is verified in Resend, and that is not this change's call to make.


Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 01:14:19 -07:00

37 lines
2.7 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=Vita <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