mirror of
https://github.com/Patiun/com.gregkilmer.www.git
synced 2026-11-08 04:08:24 +00:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# =============================================================================
|
||||
# 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://patiun.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@patiun.com
|
||||
# SMTP_FROM="Greg's Site <no-reply@patiun.com>"
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user