-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
76 lines (61 loc) · 1.94 KB
/
.env.example
File metadata and controls
76 lines (61 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# SysAdmin Portfolio - Environment Variables Template
# Copy this file to .env and fill in your values
# NEVER commit the .env file to version control!
# ============================================
# Network Monitoring Settings
# ============================================
# SNMP community string for device queries
SNMP_COMMUNITY=public
# SNMP version (1, 2c, or 3)
SNMP_VERSION=2c
# Default timeout for network operations (seconds)
DEFAULT_TIMEOUT=5.0
# Network devices for monitoring
MIKROTIK_HOST=192.168.1.1
UBIQUITI_HOST=192.168.1.2
OMADA_HOST=192.168.1.3
# ============================================
# Monitoring Stack Settings
# ============================================
# Grafana admin password (change this!)
GRAFANA_ADMIN_PASSWORD=changeme
# Prometheus data retention period
PROMETHEUS_RETENTION=15d
# Alertmanager webhook URL (optional)
ALERTMANAGER_WEBHOOK_URL=
# SMTP settings for email alerts (optional)
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=
SMTP_PASSWORD=
ALERT_EMAIL_TO=admin@example.com
# ============================================
# Microsoft 365 Settings (for PowerShell scripts)
# ============================================
# Azure AD App Registration details
M365_TENANT_ID=your-tenant-id
M365_CLIENT_ID=your-client-id
M365_CLIENT_SECRET=your-client-secret
# ============================================
# Backup Settings
# ============================================
# Backup destination path
BACKUP_DEST=/var/backups
# Retention period in days
BACKUP_RETENTION_DAYS=30
# Database connection strings (for DB backups)
MYSQL_HOST=localhost
MYSQL_PORT=3306
MYSQL_USER=backup_user
MYSQL_PASSWORD=
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=backup_user
POSTGRES_PASSWORD=
# ============================================
# Logging Settings
# ============================================
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# Log file path (optional, defaults to stdout)
LOG_FILE=