Initial commit: MSP Monitor Dashboard
- Next.js 14 frontend with dark cyan/navy theme - tRPC API with Prisma ORM - MeshCentral, LibreNMS, Headwind MDM integrations - Multi-tenant architecture - Alert system with email/SMS/webhook notifications - Docker Compose deployment - Complete documentation
This commit is contained in:
40
.env.example
Normal file
40
.env.example
Normal file
@@ -0,0 +1,40 @@
|
||||
# Base de datos PostgreSQL
|
||||
DATABASE_URL="postgresql://mspmonitor:password@localhost:5432/msp_monitor?schema=public"
|
||||
|
||||
# Redis
|
||||
REDIS_URL="redis://localhost:6379"
|
||||
|
||||
# JWT Secret para sesiones
|
||||
JWT_SECRET="your-super-secret-jwt-key-min-32-chars"
|
||||
|
||||
# MeshCentral
|
||||
MESHCENTRAL_URL="https://mesh.tudominio.com"
|
||||
MESHCENTRAL_USER="admin"
|
||||
MESHCENTRAL_PASS="password"
|
||||
MESHCENTRAL_DOMAIN="default"
|
||||
|
||||
# LibreNMS
|
||||
LIBRENMS_URL="https://librenms.tudominio.com"
|
||||
LIBRENMS_TOKEN="your-librenms-api-token"
|
||||
|
||||
# Headwind MDM
|
||||
HEADWIND_URL="https://mdm.tudominio.com"
|
||||
HEADWIND_TOKEN="your-headwind-api-token"
|
||||
|
||||
# SMTP para notificaciones
|
||||
SMTP_HOST="smtp.gmail.com"
|
||||
SMTP_PORT="587"
|
||||
SMTP_USER="tu-email@gmail.com"
|
||||
SMTP_PASS="tu-app-password"
|
||||
SMTP_FROM="MSP Monitor <noreply@tudominio.com>"
|
||||
|
||||
# Twilio para SMS (opcional)
|
||||
TWILIO_ACCOUNT_SID=""
|
||||
TWILIO_AUTH_TOKEN=""
|
||||
TWILIO_PHONE_NUMBER=""
|
||||
|
||||
# URL base de la aplicacion
|
||||
NEXT_PUBLIC_APP_URL="https://monitor.tudominio.com"
|
||||
|
||||
# Modo de desarrollo
|
||||
NODE_ENV="development"
|
||||
Reference in New Issue
Block a user