# =============================================================================
# jasonwoltje.com — environment variables
# =============================================================================
# Actual values live in Portainer stack env vars (prod) or .env (local dev).
# Never commit .env — see .gitignore.

# ---- Payload / Database ----
# Local dev convenience: pnpm dev reads these directly.
# In prod, DATABASE_URI is composed in docker-compose.swarm.yml from PAYLOAD_POSTGRES_*.
DATABASE_URI=postgres://payload:payload@localhost:5432/payload
PAYLOAD_POSTGRES_USER=payload
PAYLOAD_POSTGRES_PASSWORD=replace-me-local-only
PAYLOAD_POSTGRES_DB=payload
PAYLOAD_SECRET=replace-with-32-plus-char-random-string

# ---- Public URLs ----
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
NEXT_PUBLIC_SITE_URL=http://localhost:3000

# ---- Build-time metadata (Status Terminal) ----
# CI overrides these during docker-build; local dev falls back to "dev" / "local".
NEXT_PUBLIC_BUILD_SHA=dev
NEXT_PUBLIC_BUILD_REV=local

# ---- Cloudflare Turnstile (contact form CAPTCHA) ----
TURNSTILE_SITE_KEY=
TURNSTILE_SECRET_KEY=

# ---- Umami analytics (self-hosted; empty disables tracker) ----
NEXT_PUBLIC_UMAMI_SRC=
NEXT_PUBLIC_UMAMI_WEBSITE_ID=

# ---- Contact form email (choose one path) ----
# Option A: Resend
RESEND_API_KEY=
RESEND_FROM=no-reply@jasonwoltje.com
RESEND_TO=jason@diversecanvas.com

# Option B: SMTP relay
# SMTP_HOST=
# SMTP_PORT=587
# SMTP_USER=
# SMTP_PASSWORD=
# SMTP_FROM=no-reply@jasonwoltje.com
# SMTP_TO=jason@diversecanvas.com

# ---- Mautic newsletter (not deployed yet; leave empty) ----
MAUTIC_FORM_URL=
