push to maple-street
This commit is contained in:
+47
-8
@@ -5,22 +5,61 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Database (Postgres). docker-compose sets this for the app container.
|
||||
DATABASE_URL=postgres://media:media@localhost:5432/media
|
||||
DATABASE_URL=postgres://media:media@localhost:5433/media
|
||||
|
||||
# Auth (magic-link). Generate a secret with: openssl rand -base64 32
|
||||
# This value also encrypts the admin-entered Gmail app password: rotating it
|
||||
# makes stored SMTP credentials undecryptable (they are then treated as unset).
|
||||
NEXTAUTH_URL=http://localhost:3000
|
||||
NEXTAUTH_SECRET=change-me-generate-a-random-secret
|
||||
|
||||
# Email (Postmark) — deferred? No: email is launch. SMS (Twilio) is later.
|
||||
POSTMARK_SERVER_TOKEN=
|
||||
POSTMARK_FROM=media@localhost
|
||||
|
||||
# AI assist (optional, phase 4). App degrades gracefully without it.
|
||||
LLM_API_KEY=
|
||||
# Canonical origin used in emailed links (sign-in, confirm/decline). Set this
|
||||
# to the public URL in any deployment reachable from outside the LAN. Leave
|
||||
# empty locally to use the request origin.
|
||||
PUBLIC_ORIGIN=
|
||||
|
||||
# App
|
||||
APP_ORIGIN=http://localhost:3000
|
||||
CHURCH_TIMEZONE=America/New_York
|
||||
|
||||
# Observability
|
||||
# New sign-ins. false = admin approval required (recommended for anything
|
||||
# reachable off-host). true = auto-activate unknown emails (dev/test only).
|
||||
AUTO_ACTIVATE_NEW_USERS=false
|
||||
|
||||
# Console magic-link transport: returns/prints the sign-in URL instead of
|
||||
# emailing it. Defaults to on outside production; set true explicitly for the
|
||||
# local container stack, which has no mail provider configured out of the box.
|
||||
MAGIC_LINK_DEV_TRANSPORT=true
|
||||
|
||||
# Destructive E2E/test endpoint POST /api/dev/reset. Must be true for the
|
||||
# Playwright suite; must stay false in a real deployment.
|
||||
ALLOW_DEV_RESET=false
|
||||
|
||||
# Shared secret for the HTTP cron routes:
|
||||
# GET /api/dev/cron/instances|slots|notifications|complete
|
||||
# Send it as `Authorization: Bearer <secret>` or `?secret=<secret>`.
|
||||
CRON_SECRET=
|
||||
|
||||
# Email delivery. Precedence at send time:
|
||||
# 1. Gmail SMTP configured in Admin → Email delivery (stored encrypted)
|
||||
# 2. Postmark, when POSTMARK_SERVER_TOKEN is set
|
||||
# 3. Console transport: writes JSON messages under OUTBOX_DIR
|
||||
POSTMARK_SERVER_TOKEN=
|
||||
POSTMARK_FROM=media@localhost
|
||||
|
||||
# Console transport directory (a named Docker volume in compose).
|
||||
OUTBOX_DIR=/tmp/outbox
|
||||
|
||||
# Training attachments (metadata in Postgres, bytes on disk; max 5 MB each).
|
||||
UPLOAD_DIR=/tmp/uploads
|
||||
|
||||
# NFS archive. Mount the export on the Docker host, then point
|
||||
# MEDIA_ARCHIVE_DIR at that host mount when starting compose:
|
||||
# MEDIA_ARCHIVE_DIR=/mnt/nfs/glenloch docker compose up -d
|
||||
# The app always writes to /archive inside the container; admins can change the
|
||||
# archive subfolder in Settings → Photo archive (NFS).
|
||||
ARCHIVE_DIR=/archive
|
||||
NFS_SHARE=
|
||||
|
||||
# Observability (declared; no Sentry integration is wired yet)
|
||||
SENTRY_DSN=
|
||||
|
||||
Reference in New Issue
Block a user