# Authentication # Generate with: openssl rand -base64 32 AUTH_SECRET=your-secret-key-here # NextAuth URL # Development NEXTAUTH_URL=http://localhost:3000 # Production (change to your domain) # NEXTAUTH_URL=https://your-domain.com # SMTP Configuration (Fallback when DB config is empty) SMTP_HOST=smtp.gmail.com SMTP_PORT=587 SMTP_SECURE=false SMTP_USER=your-email@gmail.com SMTP_PASS=your-app-password SMTP_FROM_EMAIL=noreply@example.com SMTP_FROM_NAME=Location Tracker # Encryption for SMTP passwords in database # Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" ENCRYPTION_KEY=your-32-byte-hex-key-here # Push Notifications (future feature) # VAPID_PUBLIC_KEY= # VAPID_PRIVATE_KEY= # ====================================== # MQTT Configuration # ====================================== # MQTT Broker URL (internal - for app container to connect) # Development (local): mqtt://localhost:1883 # Docker Compose: mqtt://mosquitto:1883 # Production: mqtt://your-mqtt-broker:1883 MQTT_BROKER_URL=mqtt://mosquitto:1883 # MQTT Public Broker URL (external - for OwnTracks apps to connect) # This is the publicly accessible address that will be sent in emails # Development (local): mqtt://localhost:1883 # Production: mqtt://your-public-domain.com:1883 or mqtt://your-server-ip:1883 MQTT_PUBLIC_BROKER_URL=mqtt://192.168.10.118:1883 # MQTT Admin Credentials (für MQTT Subscriber und Password File Generation) MQTT_ADMIN_USERNAME=admin MQTT_ADMIN_PASSWORD=admin # Mosquitto Configuration File Paths # Diese Pfade müssen vom App-Container aus erreichbar sein MOSQUITTO_PASSWORD_FILE=/mosquitto/config/password.txt MOSQUITTO_ACL_FILE=/mosquitto/config/acl.txt # Mosquitto Container Name (für Config Reload via Docker) MOSQUITTO_CONTAINER_NAME=mosquitto