docs: README + CLAUDE.md + .env.example + quickref reflect latest gates
This commit is contained in:
59
.env.example
59
.env.example
@@ -1,9 +1,60 @@
|
||||
# Database
|
||||
# =============================================================================
|
||||
# Environment variables — copy this file to .env and fill in your values.
|
||||
# See docs/guides/runbook.md for the full reference.
|
||||
# =============================================================================
|
||||
|
||||
# --- Required for `pnpm dev` ---
|
||||
|
||||
# Postgres connection. Matches `docker compose up -d` default.
|
||||
DATABASE_URL=postgresql://postgres:postgres@localhost:5433/template
|
||||
|
||||
# Payload CMS
|
||||
PAYLOAD_SECRET=your-secret-here
|
||||
# Payload CMS encryption key. Any random 32+ char string in dev.
|
||||
PAYLOAD_SECRET=replace-with-a-random-32-char-string
|
||||
|
||||
# --- Optional: app URLs (defaults work in dev) ---
|
||||
|
||||
# App URLs
|
||||
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
||||
CMS_URL=http://localhost:3001
|
||||
|
||||
# Force dev-seed binders (mock repos) regardless of NODE_ENV. Useful for
|
||||
# running pnpm dev without Payload booted.
|
||||
# USE_DEV_SEED=true
|
||||
|
||||
# --- Optional: Sentry observability ---
|
||||
# Leaving these unset → instrumentation falls back to the no-op tracer/logger.
|
||||
# Set the DSN for any app you want OTel + Sentry on.
|
||||
|
||||
# WEB_NEXT_SENTRY_DSN=
|
||||
# NEXT_PUBLIC_WEB_NEXT_SENTRY_DSN=
|
||||
# CMS_SENTRY_DSN=
|
||||
# WEB_TANSTACK_SENTRY_DSN=
|
||||
# VITE_WEB_TANSTACK_SENTRY_DSN=
|
||||
|
||||
# Source-map upload at build time (production only).
|
||||
# SENTRY_AUTH_TOKEN=
|
||||
# SENTRY_ORG=
|
||||
# SENTRY_PROJECT_WEB_NEXT=
|
||||
# SENTRY_PROJECT_CMS=
|
||||
# SENTRY_PROJECT_WEB_TANSTACK=
|
||||
|
||||
# OTel trace sample rate (0.0 = none, 1.0 = all). 0.1 recommended in dev.
|
||||
# SENTRY_TRACES_SAMPLE_RATE=0.1
|
||||
# SENTRY_ENVIRONMENT=development
|
||||
|
||||
# --- Optional: git commit SHA for releases ---
|
||||
|
||||
# VERCEL_GIT_COMMIT_SHA=
|
||||
# NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA=
|
||||
# VITE_GIT_COMMIT_SHA=
|
||||
|
||||
# --- Optional: core-audit (only when `gen core-package audit` is scaffolded) ---
|
||||
|
||||
# Salt for GDPR pseudonymisation. PRODUCTION MUST set this to a stable secret.
|
||||
# AUDIT_PSEUDONYM_SALT=
|
||||
|
||||
# --- Optional: sandcastle dispatch (only when running `pnpm work dispatch --execute`) ---
|
||||
|
||||
# ANTHROPIC_API_KEY=
|
||||
# OPENAI_API_KEY=
|
||||
# GITHUB_TOKEN=
|
||||
# SANDCASTLE_PROVIDER=docker
|
||||
|
||||
Reference in New Issue
Block a user