-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
69 lines (58 loc) · 2.35 KB
/
env.example
File metadata and controls
69 lines (58 loc) · 2.35 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
# ============================================
# GRAFANA CONFIGURATION
# ============================================
GRAFANA_ADMIN_PASSWORD=admin
# ============================================
# PROMETHEUS BASIC AUTH (via Nginx)
# ============================================
# These credentials are used to access Prometheus UI
# Generated automatically by nginx container on startup
PROMETHEUS_USER=admin
PROMETHEUS_PASSWORD=prometheus
# For production, use strong credentials:
# PROMETHEUS_USER=monitoring_$(openssl rand -hex 8)
# PROMETHEUS_PASSWORD=$(openssl rand -base64 32)
# ============================================
# SMTP CONFIGURATION (Email Notifications)
# ============================================
# Enable/disable SMTP
SMTP_ENABLED=true
# SMTP server settings
SMTP_HOST=smtp.example.com:587
SMTP_USER=your-email@example.com
SMTP_PASSWORD=your_smtp_password_here
SMTP_FROM_ADDRESS=your-email@example.com
SMTP_FROM_NAME=Grafana Monitoring
# TLS policy: OpportunisticStartTLS, MandatoryStartTLS, NoStartTLS
SMTP_STARTTLS_POLICY=MandatoryStartTLS
# ============================================
# ALERT EMAIL ADDRESSES
# ============================================
# Comma-separated list of email addresses for alerts
# Examples:
# Single email: admin@example.com
# Multiple emails: admin@example.com, alerts@example.com, team@example.com
ALERT_EMAIL_ADDRESSES=admin@example.com
# ============================================
# TELEGRAM NOTIFICATIONS
# ============================================
# To set up Telegram notifications:
# 1. Create a bot: Message @BotFather on Telegram and use /newbot
# 2. Get your bot token (looks like: 123456789:ABCdefGHIjklMNOpqrsTUVwxyz)
# 3. Get your chat ID:
# - Message your bot
# - Visit: https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates
# - Find "chat":{"id":123456789} in the response
# Your Telegram Bot Token (from @BotFather)
TELEGRAM_BOT_TOKEN=123456789:ABCdefGHIjklMNOpqrsTUVwxyz
# Your Telegram Chat ID (numeric ID or @channel_name)
TELEGRAM_CHAT_ID=123456789
# Note: Leave empty or comment out if you don't want to use Telegram
# If not configured, only Email notifications will be used
# TELEGRAM_BOT_TOKEN=
# TELEGRAM_CHAT_ID=
# ============================================
# ROCKET.CHAT WEBHOOK
# ============================================
# Full Rocket.Chat Incoming Webhook URL
ROCKET_WEBHOOK_URL=