Files

23 lines
755 B
Bash

# Environment Configuration Example
PROJECT_NAME="DMH Role-Based Data Visualisation Platform"
ENV=development
DEBUG=True
# Database Configuration
# For production PostgreSQL: postgresql://postgres:postgres@localhost:5432/dmh_visualisation
# Default fallback for development/testing: sqlite:///./dmh_platform.db
DATABASE_URL=sqlite:///./dmh_platform.db
# JWT & Security
SECRET_KEY=change-this-in-production-to-a-super-secret-random-key-dmh-2025
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=480
# CORS
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173,http://127.0.0.1:5173
# Initial Super Admin (automatically seeded on first boot)
FIRST_SUPER_ADMIN_EMAIL=admin@dmh.org
FIRST_SUPER_ADMIN_USERNAME=admin
FIRST_SUPER_ADMIN_PASSWORD=Admin@123456