-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
65 lines (56 loc) · 2.78 KB
/
Copy path.env.example
File metadata and controls
65 lines (56 loc) · 2.78 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
# ============================================================================
# Alloy Monitoring Platform - Environment Configuration
# ============================================================================
# Copy this file to .env and update with your values
# ============================================================================
# PUBLIC URLS (Update these for production)
# ============================================================================
MONITOR_PUBLIC_URL=http://localhost:9099
GRAFANA_ROOT_URL=http://localhost:3000
# ============================================================================
# SECURITY - CHANGE THESE IN PRODUCTION!
# ============================================================================
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASS=change-me-secure-password
# Install token for node registration (generate with: openssl rand -hex 32)
MONITOR_INSTALL_TOKEN=change-me-install-token
# API key for admin operations (generate with: openssl rand -hex 32)
MONITOR_API_KEY=change-me-api-key
# ============================================================================
# EMAIL/SMTP CONFIGURATION (AWS SES)
# ============================================================================
# 1. AWS Console → SES → Verified identities → verify ankercloud.com (or SMTP_FROM email)
# 2. AWS Console → SES → SMTP settings → Create SMTP credentials
# 3. Fill SMTP_USER / SMTP_PASSWORD below, set SMTP_FROM to a verified address
# 4. Run: ./scripts/configure-ses.sh --test you@email.com
#
# Region endpoints: email-smtp.<region>.amazonaws.com:587
# SMTP credentials are region-specific — use the same region where you created them.
# Sandbox mode: verify recipient emails too, or request SES production access.
SMTP_ENABLED=false
SMTP_HOST=email-smtp.eu-central-1.amazonaws.com:587
SMTP_USER=your-ses-smtp-username
SMTP_PASSWORD=your-ses-smtp-password
SMTP_FROM=zentra@ankercloud.com
SMTP_FROM_NAME=Zentra Monitoring
# Optional: default admin alert recipient (contact point email-zentra)
ALERT_ADMIN_EMAIL=
# ============================================================================
# DATABASE (Optional - PostgreSQL instead of SQLite)
# ============================================================================
# Uncomment to use PostgreSQL for Grafana
# GF_DATABASE_TYPE=postgres
# GF_DATABASE_HOST=postgres:5432
# GF_DATABASE_NAME=grafana
# GF_DATABASE_USER=grafana
# GF_DATABASE_PASSWORD=changeme
# POSTGRES_PASSWORD=changeme
# ============================================================================
# ADVANCED SETTINGS
# ============================================================================
# Prometheus retention
PROMETHEUS_RETENTION=30d
# Grafana plugins (comma-separated)
GF_INSTALL_PLUGINS=yesoreyeram-infinity-datasource
# Timezone (optional)
TZ=UTC