mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-06-25 07:27:42 +00:00
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(-)
20 lines
468 B
Text
20 lines
468 B
Text
# Production Environment Configuration
|
|
# Copy to .env.production and fill in values
|
|
|
|
# Database
|
|
POSTGRES_USER=likwid
|
|
POSTGRES_PASSWORD=CHANGE_THIS_STRONG_PASSWORD
|
|
POSTGRES_DB=likwid_prod
|
|
DB_PORT=5432
|
|
|
|
# Backend
|
|
JWT_SECRET=CHANGE_THIS_TO_RANDOM_64_CHAR_STRING
|
|
TRUSTED_PROXY_IPS=
|
|
BACKEND_PORT=3000
|
|
|
|
# Frontend
|
|
FRONTEND_PORT=4321
|
|
API_BASE=https://your-domain.com
|
|
INTERNAL_API_BASE=http://backend:3000
|
|
|
|
# Note: DEMO_MODE is always false for production
|