Files
vitareba/env.local.example
GandClaude Opus 4.8 d2c510437f chore(infra): remove Vercel references — self-hosted now (#7)
Vercel is fully decommissioned; every app runs self-hosted on the Hetzner
box "bitbaum" behind Caddy. Repoint/remove Vercel-specific config and docs:

- Remove vercel.json; the CLAUDE.md Cron Jobs table is now the schedule SSOT
  (systemd timers mirror it). Update CLAUDE.md + README wording accordingly.
- env.local.example: dead *.vercel.app URLs → https://vitareba.ch; drop the
  Vercel Blob BLOB_READ_WRITE_TOKEN (storage is local disk) in favour of
  optional UPLOADS_DIR.
- public/robots.txt: sitemap URL → https://vitareba.ch.
- .gitignore: drop the leftover .vercel ignore rule.

Kept: lib/storage.ts factual "replaces @vercel/blob" comment (migration
history) and the generated pnpm-lock.yaml transitive @vercel/* entries.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 21:49:36 +02: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=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