# ============================================================================= # Greg Kilmer Profile Site - Environment Variables # ============================================================================= # Copy this file to `.env` (local dev) or pass via Cosmos container environment. # Never commit your real `.env`. All values are optional unless noted. # ============================================================================= # --- Server ----------------------------------------------------------------- # Port and host the Node server binds to. Cosmos reverse proxy should forward here. PORT=4321 HOST=0.0.0.0 # Canonical site URL (used for absolute metadata URLs and API responses). SITE_URL=https://gregkilmer.com # --- Contact form -> /api/contact ------------------------------------------- # Two delivery modes. If SMTP is configured, email is sent. Otherwise, if a webhook # URL is set, the payload is POSTed there (e.g. a Discord/Slack/n8n webhook). If # neither is set, the API returns 503 so you can wire delivery later. # SMTP (nodemailer). CONTACT_TO is the inbox that receives submissions. # SMTP_HOST= # SMTP_PORT=587 # SMTP_USER= # SMTP_PASS= # CONTACT_TO=greg@gregkilmer.com # SMTP_FROM="Greg's Site " # Optional webhook fallback (JSON POST). # CONTACT_WEBHOOK_URL= # Honeypot / basic abuse control. Maximum submissions per IP per window. CONTACT_RATE_LIMIT=5 CONTACT_RATE_WINDOW_MIN=15 # --- Gaming box-art tool ---------------------------------------------------- # Used by scripts/fetch-box-art.mjs to download box/banner art for Gaming Hall # of Fame entries via the RAWG API. Get a free key at: # https://rawg.io/login?forward=developer RAWG_API_KEY=