Update .env.example with enhanced configuration details for development
- Added instructions for generating a secure secret key with a minimum length requirement. - Included new configuration options for admin bootstrap data and maximum lengths for editor tips and highlights.
This commit is contained in:
@@ -2,6 +2,7 @@ APP_NAME=TK Wiki Newsletter Admin
|
||||
# development = lokale Entwicklung ohne harte Produktions-Checks
|
||||
# production = erzwingt starke Secrets, ALLOWED_HOSTS, COOKIE_SECURE=true
|
||||
ENVIRONMENT=development
|
||||
# Bitte ein langes, zufälliges Secret mit mindestens 32 Zeichen generieren und hier eintragen
|
||||
SECRET_KEY=PLEASE_CHANGE_TO_A_LONG_RANDOM_SECRET_AT_LEAST_32_CHARS
|
||||
ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=120
|
||||
@@ -16,11 +17,14 @@ ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
COOKIE_SECURE=false
|
||||
# Auf true setzen, wenn hinter HTTPS/TLS-Terminierung (Reverse Proxy) – Pflicht in production
|
||||
HSTS_MAX_AGE=31536000
|
||||
# Admin-Bootstrap-Daten
|
||||
ADMIN_BOOTSTRAP_EMAIL=admin@internal.local
|
||||
ADMIN_BOOTSTRAP_PASSWORD=ChangeMe123!
|
||||
# true = setzt Passwort/Rolle/Status des Bootstrap-Admins bei jedem Start
|
||||
# auf die obigen Werte zurueck (auch wenn der User schon existiert).
|
||||
# In production nicht erlaubt. Nach Erst-Setup auf false lassen.
|
||||
ADMIN_BOOTSTRAP_RESET=false
|
||||
# Maximale Länge für Editor-Tips
|
||||
EDITOR_TIP_MAX_LENGTH=10000
|
||||
# Maximale Länge für Highlights
|
||||
HIGHLIGHTS_MAX_LENGTH=5000
|
||||
|
||||
Reference in New Issue
Block a user