likwid/compose/.env.demo.example
Marco Allegretti a61ec18913 backend, compose, docs, +1: modify 13 files
Verified changes:
- modify backend/.env.example
- modify backend/src/api/auth.rs
- modify backend/src/config/mod.rs
- modify backend/src/rate_limit.rs
- modify compose/.env.demo.example
- modify compose/.env.production.example
- modify compose/demo.yml
- modify compose/production.yml
- modify docs/admin/configuration.md
- modify docs/admin/installation.md
- modify docs/admin/opensuse-operator-kit.md
- modify docs/admin/security.md
- modify frontend/src/middleware.ts

Diffstat:
- 13 files changed, 243 insertions(+), 41 deletions(-)
2026-02-24 19:45:42 +01:00

26 lines
761 B
Text

# Demo Environment Configuration
# Copy to .env.demo and optionally customize
# Database (separate from production)
POSTGRES_USER=likwid_demo
POSTGRES_PASSWORD=demo_secret_change_me
POSTGRES_DB=likwid_demo
DB_PORT=5433
# Backend
JWT_SECRET=demo_jwt_secret_not_for_production
BACKEND_PORT=3001
BACKEND_BIND_HOST=0.0.0.0
TRUSTED_PROXY_IPS=
# Frontend
FRONTEND_PORT=4322
FRONTEND_BIND_HOST=0.0.0.0
API_BASE=http://localhost:3001
INTERNAL_API_BASE=http://backend:3000
# Demo mode is always enabled for this deployment
# This enables:
# - Demo accounts (contributor, moderator, observer) with password: demo123
# - Pre-seeded communities, proposals, and governance data
# - Restricted destructive actions (cannot delete core demo data)