Rustelo/.env.example
Jesús Pérex 2f0f807331 feat: add dark mode functionality and improve navigation system
- Add complete dark mode system with theme context and toggle
- Implement dark mode toggle component in navigation menu
- Add client-side routing with SSR-safe signal handling
- Fix language selector styling for better dark mode compatibility
- Add documentation system with mdBook integration
- Improve navigation menu with proper external/internal link handling
- Add comprehensive project documentation and configuration
- Enhance theme system with localStorage persistence
- Fix arena panic issues during server-side rendering
- Add proper TypeScript configuration and build optimizations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 20:53:20 +01:00

89 lines
2.1 KiB
Plaintext

# Server Configuration
# Copy this file to .env and modify the values as needed
# Root Path Configuration
# Base directory for all relative paths in the configuration
# If not set, defaults to current working directory
ROOT_PATH=.
# Server Protocol (http or https)
SERVER_PROTOCOL=http
# Server Host
SERVER_HOST=127.0.0.1
# Server Port
SERVER_PORT=3030
# TLS Configuration (only used when SERVER_PROTOCOL=https)
# Path to TLS certificate file
TLS_CERT_PATH=./certs/cert.pem
# Path to TLS private key file
TLS_KEY_PATH=./certs/key.pem
# Environment (development, production, dev, prod)
ENVIRONMENT=development
# Log Level (error, warn, info, debug, trace)
LOG_LEVEL=info
# Reload Port (for development)
RELOAD_PORT=3031
# Static Files Directory
STATIC_DIR=target/site
# Assets Directory
ASSETS_DIR=public
# Site Package Directory
SITE_PKG_DIR=pkg
# CORS Configuration
CORS_ALLOWED_ORIGINS=http://localhost:3030,http://127.0.0.1:3030
# Session Configuration
SESSION_SECRET=your-session-secret-key-change-this-in-production
# Database Configuration (if using a database)
# DATABASE_URL=postgresql://user:password@localhost/dbname
# Redis Configuration (if using Redis)
# REDIS_URL=redis://localhost:6379
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_ISSUER=rustelo-auth
JWT_ACCESS_TOKEN_EXPIRES_IN=15
JWT_REFRESH_TOKEN_EXPIRES_IN=7
# OAuth Configuration
OAUTH_REDIRECT_BASE_URL=http://localhost:3030/auth/callback
# Google OAuth (optional)
# GOOGLE_CLIENT_ID=your-google-client-id
# GOOGLE_CLIENT_SECRET=your-google-client-secret
# GitHub OAuth (optional)
# GITHUB_CLIENT_ID=your-github-client-id
# GITHUB_CLIENT_SECRET=your-github-client-secret
# Discord OAuth (optional)
# DISCORD_CLIENT_ID=your-discord-client-id
# DISCORD_CLIENT_SECRET=your-discord-client-secret
# Microsoft OAuth (optional)
# MICROSOFT_CLIENT_ID=your-microsoft-client-id
# MICROSOFT_CLIENT_SECRET=your-microsoft-client-secret
# MICROSOFT_TENANT_ID=common
# External API Configuration
# API_BASE_URL=https://api.example.com
# API_KEY=your-api-key
# Feature Flags
ENABLE_METRICS=false
ENABLE_HEALTH_CHECK=true
ENABLE_COMPRESSION=true