# ═══════════════════════════════════════ # Blair Dashboard — Environment Config # Kopiere diese Datei zu .env und fülle sie aus # ═══════════════════════════════════════ # Server PORT=3000 NODE_ENV=production # Session Secret — beliebiger langer zufälliger String # Generieren mit: node -e "console.log(require('crypto').randomBytes(64).toString('hex'))" SESSION_SECRET=AENDERN_ZU_LANGEM_ZUFALLS_STRING # MySQL / MariaDB DB_HOST=localhost DB_PORT=3306 DB_NAME=blair_dashboard DB_USER=blair_user DB_PASS=SICHERES_PASSWORT # Discord OAuth App # Erstellen unter: https://discord.com/developers/applications DISCORD_CLIENT_ID=DEINE_CLIENT_ID DISCORD_CLIENT_SECRET=DEIN_CLIENT_SECRET # Die URL deines Servers (ohne trailing slash) # Lokal: http://localhost:3000 # Produktiv: https://blair.deinedomain.de APP_URL=https://blair.deinedomain.de # Deine Discord User ID (wird automatisch als erster Admin eingetragen) # Discord → Einstellungen → Erweitert → Entwicklermodus → Rechtsklick auf dich → ID kopieren OWNER_DISCORD_ID=DEINE_DISCORD_ID OWNER_DISCORD_NAME=DeinDiscordName