A1: foundation scaffold (Next.js 15, shadcn/Radix, Drizzle+Postgres, Vitest, Docker)
- Next.js 15 + TS strict + Tailwind 4 + ESLint 9 - shadcn/ui initialized (Radix, CSS variables); cn() util - Drizzle + postgres driver + Zod; db client + schema placeholder (A2) - Vitest with passing cn() test; GitHub Actions CI - Portable container stack: multi-stage non-root Dockerfile, docker-compose (app + Postgres on host 5433) - Verified: typecheck, lint, test (3), build, docker build, HTTP 200 on :3000 - Records the 5 pre-build decisions (email-only launch, SMS deferred)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Media Team Hub — environment variables
|
||||
# Copy to `.env` for local dev. Never commit real secrets (`.env*` is gitignored).
|
||||
# All secrets are server-only — never prefix with NEXT_PUBLIC_.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Database (Postgres). docker-compose sets this for the app container.
|
||||
DATABASE_URL=postgres://media:media@localhost:5432/media
|
||||
|
||||
# Auth (magic-link). Generate a secret with: openssl rand -base64 32
|
||||
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=
|
||||
|
||||
# App
|
||||
APP_ORIGIN=http://localhost:3000
|
||||
CHURCH_TIMEZONE=America/New_York
|
||||
|
||||
# Observability
|
||||
SENTRY_DSN=
|
||||
Reference in New Issue
Block a user