93 lines
4.3 KiB
Plaintext
93 lines
4.3 KiB
Plaintext
#======================================================================#
|
|
# Homarr Environment Configuration #
|
|
# Copy this file to .env and customize values #
|
|
#======================================================================#
|
|
|
|
#------------------------------------------------------------------#
|
|
# Repository Info #
|
|
#------------------------------------------------------------------#
|
|
# Repo: gitea.lemonlink.eu/homelab/homarr-dashboard
|
|
# Clone: git clone https://gitea.lemonlink.eu/homelab/homarr-dashboard.git
|
|
|
|
#------------------------------------------------------------------#
|
|
# Security #
|
|
#------------------------------------------------------------------#
|
|
# Generate a secure 64-character hex string for encryption
|
|
# PowerShell: -join ((1..32) | ForEach-Object { '{0:x2}' -f (Get-Random -Maximum 256) })
|
|
# Linux/Mac: openssl rand -hex 32
|
|
SECRET_ENCRYPTION_KEY=4edb53b70d198494e57ce5341aeb1edb384d808df740479aac8985fc36849aeb
|
|
|
|
#------------------------------------------------------------------#
|
|
# Port Configuration #
|
|
#------------------------------------------------------------------#
|
|
# Change if ports are already in use
|
|
HOMARR_PORT=7575
|
|
DASH_PORT=3001
|
|
|
|
#------------------------------------------------------------------#
|
|
# Domain Configuration (for reference) #
|
|
#------------------------------------------------------------------#
|
|
# Configure these in NPM:
|
|
# - 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 and configure if using OIDC/Authelia/Authentik #
|
|
#------------------------------------------------------------------#
|
|
# AUTH_OIDC_URI=https://auth.lemonlink.eu
|
|
# AUTH_OIDC_CLIENT_ID=homarr
|
|
# AUTH_OIDC_CLIENT_SECRET=your-client-secret
|
|
# AUTH_OIDC_CLIENT_NAME=Homarr
|
|
|
|
#------------------------------------------------------------------#
|
|
# LDAP Configuration (Optional) #
|
|
# Uncomment and configure if using LDAP/Active Directory #
|
|
#------------------------------------------------------------------#
|
|
# AUTH_LDAP_URI=ldap://ldap.lemonlink.eu:389
|
|
# AUTH_LDAP_BASE=dc=lemonlink,dc=eu
|
|
# AUTH_LDAP_BIND_DN=cn=admin,dc=lemonlink,dc=eu
|
|
# AUTH_LDAP_BIND_PASSWORD=your-ldap-password
|
|
|
|
#------------------------------------------------------------------#
|
|
# 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
|
|
|
|
# Optional: Discord/Slack notifications
|
|
# WATCHTOWER_NOTIFICATIONS=shoutrrr+discord://token@id
|
|
|
|
#------------------------------------------------------------------#
|
|
# Database #
|
|
#------------------------------------------------------------------#
|
|
# SQLite (default) - no additional config needed
|
|
DB_URL=/appdata/db/homarr.db
|
|
|
|
#------------------------------------------------------------------#
|
|
# Logging #
|
|
#------------------------------------------------------------------#
|
|
LOG_LEVEL=info
|
|
NODE_ENV=production
|
|
|
|
#------------------------------------------------------------------#
|
|
# Analytics (Optional) #
|
|
#------------------------------------------------------------------#
|
|
# Set to false to disable anonymous analytics
|
|
ANALYTICS_ENABLED=true
|