35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# Server Configuration
|
|
PORT=5000
|
|
NODE_ENV=development
|
|
|
|
# Database Configuration
|
|
MONGO_URI=mongodb://127.0.0.1:27017/tracking-leaders
|
|
|
|
# JWT Configuration
|
|
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
|
JWT_EXPIRES_IN=24h
|
|
|
|
# Admin Initial Password (used by seed.js if admin doesn't exist)
|
|
# ADMIN_INITIAL_PASSWORD=secure-password-here
|
|
|
|
# CORS Configuration (comma-separated for multiple origins)
|
|
CORS_ORIGIN=http://localhost:3000
|
|
|
|
# Geocoding Configuration (OpenStreetMap Nominatim)
|
|
GEOCODE_URL=https://nominatim.openstreetmap.org/search
|
|
GEOCODE_USER_AGENT=tracking-leaders-app/1.0 (admin@localhost)
|
|
GEOCODE_MIN_DELAY_MS=1100
|
|
|
|
# Basis-URL der App fuer Links in E-Mails (Passwort-Reset).
|
|
# MUSS den Unterpfad enthalten, unter dem die App ausgeliefert wird.
|
|
# Ohne diesen Wert wird er aus CORS_ORIGIN + "/nachsuche" zusammengesetzt.
|
|
APP_URL=http://localhost:8080/nachsuche
|
|
|
|
# SMTP fuer Passwort-Reset-Mails (optional).
|
|
# Fehlt die Konfiguration, wird der Reset-Link nur ins Log geschrieben.
|
|
# SMTP_HOST=smtp.example.com
|
|
# SMTP_PORT=587
|
|
# SMTP_USER=noreply@example.com
|
|
# SMTP_PASS=
|
|
# SMTP_FROM=noreply@example.com
|