- 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>
33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# --- Network -------------------------------------------------------------------
|
|
# LAN IP of the Docker host and published port
|
|
BIND_IP=192.168.50.123
|
|
APP_PORT=8085
|
|
|
|
# Comma-separated IPs whose X-Forwarded-* headers are trusted (Nginx Proxy Manager).
|
|
# 127.0.0.1 effectively disables proxy headers until the NPM source IP is known.
|
|
FORWARDED_ALLOW_IPS=127.0.0.1
|
|
|
|
# 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
|