mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 13:33:09 +00:00
27 lines
937 B
Text
27 lines
937 B
Text
|
|
# Likwid Backend Configuration
|
||
|
|
# Copy this file to .env and configure as needed
|
||
|
|
|
||
|
|
# Database connection URL
|
||
|
|
DATABASE_URL=postgres://likwid:likwid@localhost:5432/likwid
|
||
|
|
|
||
|
|
# Server configuration
|
||
|
|
SERVER_HOST=127.0.0.1
|
||
|
|
SERVER_PORT=3000
|
||
|
|
|
||
|
|
# JWT Secret for authentication tokens
|
||
|
|
# IMPORTANT: Change this in production!
|
||
|
|
JWT_SECRET=change-me-in-production
|
||
|
|
|
||
|
|
# =============================================================================
|
||
|
|
# DEMO MODE
|
||
|
|
# =============================================================================
|
||
|
|
# Enable demo mode for public demonstration instances.
|
||
|
|
# When enabled:
|
||
|
|
# - Restricts destructive actions (delete communities, modify instance settings)
|
||
|
|
# - Enables demo accounts (contributor, moderator, observer) with password: demo123
|
||
|
|
# - Loads seed data with realistic governance history
|
||
|
|
# - Data can be reset via POST /api/demo/reset
|
||
|
|
#
|
||
|
|
# Set to true for demo/showcase instances, false for production
|
||
|
|
DEMO_MODE=false
|