- README with quick start, package overview, links to docs - docs/setup.md — prerequisites, env vars, installation, running, testing - docs/architecture.md — monorepo structure, backend/frontend design - docs/api.md — full endpoint reference with permissions - docs/database.md — schema overview, migrations, multi-tenancy - docs/testing.md — test runner, suites, writing tests - Updated .env.example with all supported variables
34 lines
826 B
Plaintext
34 lines
826 B
Plaintext
# Forte — Environment Variables
|
|
# Copy to .env and adjust values for your setup.
|
|
# Docker Compose overrides host values (postgres, valkey) automatically.
|
|
|
|
# Database (PostgreSQL 16)
|
|
DATABASE_URL=postgresql://forte:forte@localhost:5432/forte
|
|
|
|
# Valkey / Redis
|
|
REDIS_URL=redis://localhost:6379
|
|
|
|
# JWT — use a strong random secret in production
|
|
JWT_SECRET=change-me-in-production-use-a-long-random-string
|
|
|
|
# API Server
|
|
PORT=8000
|
|
HOST=0.0.0.0
|
|
|
|
# Environment
|
|
NODE_ENV=development
|
|
|
|
# Logging (optional)
|
|
# LOG_LEVEL=info
|
|
# LOG_FILE=./logs/forte.log
|
|
|
|
# File Storage (optional — defaults to local)
|
|
# STORAGE_PROVIDER=local
|
|
# STORAGE_LOCAL_PATH=./data/files
|
|
|
|
# CORS (optional — defaults to * in development)
|
|
# CORS_ORIGINS=https://admin.example.com
|
|
|
|
# Frontend URL (used in password reset links)
|
|
# APP_URL=http://localhost:5173
|