54 lines
1.7 KiB
Plaintext
54 lines
1.7 KiB
Plaintext
# =================================================================
|
|
# Authentication (Auth.js)
|
|
# =================================================================
|
|
|
|
AUTH_SECRET=change-this-to-a-long-random-secret
|
|
|
|
|
|
# =================================================================
|
|
# Database (PostgreSQL)
|
|
# =================================================================
|
|
|
|
DATABASE_URL=postgres://postgres:postgres@localhost:5432/training_system
|
|
|
|
|
|
# =================================================================
|
|
# Initial Super Admin Seed
|
|
# =================================================================
|
|
|
|
SUPER_ADMIN_EMAIL=admin@example.com
|
|
SUPER_ADMIN_PASSWORD=change-this-password
|
|
SUPER_ADMIN_NAME=Super Admin
|
|
# Optional: set to "true" if you want the seed script to overwrite
|
|
# the existing super admin password on reruns.
|
|
SUPER_ADMIN_RESET_PASSWORD=false
|
|
|
|
|
|
# =================================================================
|
|
# Build Configuration
|
|
# =================================================================
|
|
|
|
BUILD_STANDALONE=
|
|
|
|
|
|
# =================================================================
|
|
# Error Tracking (Sentry)
|
|
# =================================================================
|
|
|
|
NEXT_PUBLIC_SENTRY_DSN=
|
|
NEXT_PUBLIC_SENTRY_ORG=
|
|
NEXT_PUBLIC_SENTRY_PROJECT=
|
|
SENTRY_AUTH_TOKEN=
|
|
NEXT_PUBLIC_SENTRY_DISABLED="false"
|
|
|
|
|
|
# =================================================================
|
|
# Notes
|
|
# =================================================================
|
|
|
|
# 1. Rename this file to `.env.local` for local development
|
|
# 2. Do not commit real secrets
|
|
# 3. AUTH_SECRET is required in production
|
|
# 4. DATABASE_URL must point to a reachable PostgreSQL instance
|
|
# 5. Run `npm run setup:db` on first setup to apply migrations and seed the super admin
|