docs: readme und env-vorlage für benutzer und sessions
- lc-admin, Start-Admin und neue .env-Variablen dokumentiert - Compose liest alle App-Einstellungen aus .env Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4c2500797b
commit
dc4b804ccf
3 files changed
+63
-8
No files matched your search
+23
-2
@@ -1,4 +1,5 @@
|
||||
# Host binding: LAN IP of the Docker host and published port
|
||||
# --- Network -------------------------------------------------------------------
|
||||
# LAN IP of the Docker host and published port
|
||||
BIND_IP=192.168.50.123
|
||||
APP_PORT=8085
|
||||
|
||||
@@ -6,6 +7,26 @@ APP_PORT=8085
|
||||
# 127.0.0.1 effectively disables proxy headers until the NPM source IP is known.
|
||||
FORWARDED_ALLOW_IPS=127.0.0.1
|
||||
|
||||
# Logging and timezone
|
||||
# Public URL(s) of the app; state-changing requests from other origins are rejected
|
||||
ALLOWED_ORIGINS=https://clip.webbildhauer.com
|
||||
|
||||
# --- Sessions and login --------------------------------------------------------
|
||||
# Secure cookies are only sent over HTTPS; set false only for local development
|
||||
COOKIE_SECURE=true
|
||||
SESSION_IDLE_DAYS=30
|
||||
SESSION_MAX_DAYS=90
|
||||
|
||||
LOGIN_MAX_FAILURES_PER_USER=5
|
||||
LOGIN_MAX_FAILURES_PER_IP=20
|
||||
LOGIN_FAILURE_WINDOW_MINUTES=15
|
||||
# Enable only after FORWARDED_ALLOW_IPS is set; otherwise all users share the proxy IP
|
||||
LOGIN_IP_LOCKOUT=false
|
||||
|
||||
# Optional: create the first admin on startup if no users exist. Remove afterwards!
|
||||
# Preferred instead: docker exec -it -u app lan-clipboard lc-admin create-admin
|
||||
#INITIAL_ADMIN_USERNAME=
|
||||
#INITIAL_ADMIN_PASSWORD=
|
||||
|
||||
# --- Misc ----------------------------------------------------------------------
|
||||
LOG_LEVEL=info
|
||||
TZ=Europe/Berlin
|
||||
Reference in new issue
Block a user