Files
hope-food-pantry-app/.env.example
T
blake e8a5f9e352 feat: add a coordinator contact list
Saved people can be imported and added to an open shift without becoming a signup on import. Real mail is set up to use SMTP2GO once the API key and sender are configured.
2026-10-16 14:45:45 -05:00

49 lines
1.9 KiB
Bash

# Local development only. Copy to .env. Do not use these values in production.
# Production startup rejects this session secret, the console mail driver, and the Turnstile test keys.
NODE_ENV=development
PORT=3000
# Public origin only. A mount prefix belongs in BASE_PATH, not here.
BASE_URL=http://127.0.0.1:3000
BASE_PATH=
# SQLite and local backups live here. npm run dev uses ./data.
# The container uses /data, which Compose sets. Do not point DATA_DIR at the filesystem root.
DATA_DIR=./data
# At least 32 characters. Production requires a random secret:
# node -e "console.log(require('crypto').randomBytes(32).toString('base64url'))"
SESSION_SECRET=dev-only-change-me-not-for-production-use
DEFAULT_TZ=America/Chicago
# console is development-only. smtp2go is the mail provider. postmark and ses remain available.
# TODO(D1): Verify the SMTP2GO sender and the reply-to before real mail is enabled.
MAIL_DRIVER=console
MAIL_FROM="Hope Food Pantry <volunteer@example.invalid>"
MAIL_REPLY_TO=volunteer@example.invalid
SMTP2GO_API_KEY=
POSTMARK_TOKEN=
SES_REGION=
SES_ACCESS_KEY_ID=
SES_SECRET_ACCESS_KEY=
# Cloudflare's documented always-pass test keys. They must never be used in production.
# TODO(D5): Replace them with the real site and secret keys for the public hostname.
TURNSTILE_SITE_KEY=1x00000000000000000000AA
TURNSTILE_SECRET_KEY=1x0000000000000000000000000000000AA
# Used by npm run sync-brand. Missing source keeps the bundled fallback.
BRAND_SRC="../Hope Food Pantry Website/brand"
# TODO(D4): Reserved for the first administrator. This step does not create that account.
BOOTSTRAP_ADMIN_EMAIL=coordinator@example.invalid
# false ignores forwarding headers. See README for loopback and Docker bridge examples.
# Do not set this to true.
TRUST_PROXY=false
# 127.0.0.1 keeps npm run dev on this computer. Compose sets 0.0.0.0 inside the container.
BIND_HOST=127.0.0.1