Files
Michess/.env.example
Kroonk d47e87ef82
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 2m31s
feat: implement Keycloak SSO integration with JIT provisioning and Next.js login button
2026-05-21 10:45:30 +02:00

34 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ============================================
# Michess Konfigurationsdatei
# Kopiere diese Datei nach .env und passe sie an
# ============================================
# Datenbank
POSTGRES_DB=michess
POSTGRES_USER=michess
POSTGRES_PASSWORD=sicheres_passwort_hier
# Session (mindestens 32 zufällige Zeichen)
SESSION_SECRET=aendere_mich_in_produktion_mindestens_32_zeichen
# CORS: URL unter der das Frontend erreichbar ist
CORS_ORIGIN=http://deine-nas-ip:3000
# Admin: Diese E-Mail-Adresse bekommt automatisch Admin-Rechte
ADMIN_EMAIL=admin@example.com
# Ports (optional, Standard: 3000 + 3001)
MICHESS_PORT=3000
MICHESS_API_PORT=3001
# App-URL (für Next.js Metadaten)
NEXT_PUBLIC_APP_URL=http://deine-nas-ip:3000
NEXT_PUBLIC_API_URL=http://deine-nas-ip:3001
# Keycloak SSO (OIDC) Integration
SSO_AUTHORITY=https://auth.mischlabs.de/realms/mischlabs
SSO_CLIENT_ID=michess
SSO_CLIENT_SECRET=dein_client_secret_aus_keycloak
SSO_REDIRECT_URI=https://michess.mischlabs.de/v1/auth/sso/callback
APP_URL=https://michess.mischlabs.de