homarr-dashboard/.env.example

64 lines
2.9 KiB
Plaintext

#======================================================================#
# Homarr Environment Configuration #
# Storage: /opt/homarr #
# Repo: git.lemonlink.eu/impulsivefps/homarr-dashboard #
#======================================================================#
#------------------------------------------------------------------#
# Security (REQUIRED) #
#------------------------------------------------------------------#
# Generate a secure 64-character hex string:
# PowerShell: -join ((1..32) | ForEach-Object { '{0:x2}' -f (Get-Random -Maximum 256) })
# Linux/Mac: openssl rand -hex 32
SECRET_ENCRYPTION_KEY=CHANGE_ME_TO_64_CHAR_HEX_STRING
#------------------------------------------------------------------#
# Domain Configuration (for reference) #
#------------------------------------------------------------------#
# Configure these in Nginx Proxy Manager:
# - dashboard.lemonlink.eu → http://homarr:7575
# - system.lemonlink.eu → http://dash:3001
#
DOMAIN=lemonlink.eu
DASHBOARD_SUBDOMAIN=dashboard
SYSTEM_SUBDOMAIN=system
#------------------------------------------------------------------#
# Authentication #
#------------------------------------------------------------------#
# Options: credentials, ldap, oidc (can be comma-separated)
AUTH_PROVIDERS=credentials
#------------------------------------------------------------------#
# OIDC Configuration (Optional) #
# Uncomment if using Authelia/Authentik/Keycloak #
#------------------------------------------------------------------#
# AUTH_OIDC_URI=https://auth.lemonlink.eu
# AUTH_OIDC_CLIENT_ID=homarr
# AUTH_OIDC_CLIENT_SECRET=your-client-secret
# AUTH_OIDC_CLIENT_NAME=Homarr
#------------------------------------------------------------------#
# Dash. Configuration #
#------------------------------------------------------------------#
# Speed test interval in minutes (0 to disable)
DASH_SPEED_TEST_INTERVAL=240
#------------------------------------------------------------------#
# Watchtower Configuration #
#------------------------------------------------------------------#
# Check interval in seconds (86400 = 24 hours)
WATCHTOWER_INTERVAL=86400
#------------------------------------------------------------------#
# Database & Logging #
#------------------------------------------------------------------#
DB_URL=/appdata/db/homarr.db
LOG_LEVEL=info
NODE_ENV=production
#------------------------------------------------------------------#
# Analytics (Optional) #
#------------------------------------------------------------------#
ANALYTICS_ENABLED=true