-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
91 lines (79 loc) · 3.01 KB
/
.env.example
File metadata and controls
91 lines (79 loc) · 3.01 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Monitoring Stack Configuration Example
# Copy this file to .env and adjust settings as needed
#------------------------------------------------------
# Service Ports
#------------------------------------------------------
# Ports used for each service - can be changed as needed
PROMETHEUS_PORT=9090
GRAFANA_PORT=3000
ALERTMANAGER_PORT=9093
NODE_EXPORTER_PORT=9100
CADVISOR_PORT=8080
BLACKBOX_EXPORTER_PORT=9115
LOKI_PORT=3100
TELEGRAF_PORT=9273
#------------------------------------------------------
# Grafana Settings
#------------------------------------------------------
# Credentials for Grafana login
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=ChangeMe123!
# Optional Grafana settings
# GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource
# GF_AUTH_ANONYMOUS_ENABLED=false
# GF_SMTP_ENABLED=false
# GF_SMTP_HOST=smtp.example.com:587
# GF_SMTP_USER=grafana@example.com
# GF_SMTP_PASSWORD=smtp_password
#------------------------------------------------------
# AlertManager Email Configuration
#------------------------------------------------------
# Email settings for AlertManager
SMTP_FROM=alertmanager@example.com
SMTP_SMARTHOST=smtp.example.com:587
SMTP_AUTH_USERNAME=alertmanager@example.com
SMTP_AUTH_PASSWORD=smtp_password
ALERT_EMAIL_TO=admin@example.com,oncall@example.com
# For local testing with MailHog (development)
# SMTP_FROM=alertmanager@devops.lab
# SMTP_SMARTHOST=mailhog:1025
# SMTP_AUTH_USERNAME=
# SMTP_AUTH_PASSWORD=
# ALERT_EMAIL_TO=recipient@devops.lab
#------------------------------------------------------
# External Integrations
#------------------------------------------------------
# Slack webhook for alerts
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXXXXX/YYYYY/ZZZZZZ
# Optional PagerDuty integration
# PAGERDUTY_SERVICE_KEY=your_pagerduty_key
# PAGERDUTY_URL=https://events.pagerduty.com/v2/enqueue
#------------------------------------------------------
# Retention Settings
#------------------------------------------------------
# How long to keep data (optional)
# PROMETHEUS_RETENTION_TIME=15d
# LOKI_RETENTION_PERIOD=168h
#------------------------------------------------------
# Resource Limits (optional)
#------------------------------------------------------
# Limit resources used by containers
# PROMETHEUS_MEMORY_LIMIT=2g
# GRAFANA_MEMORY_LIMIT=1g
# LOKI_MEMORY_LIMIT=1g
#------------------------------------------------------
# Advanced Loki Settings
#------------------------------------------------------
# Loki ingestion settings
LOKI_INGESTION_RATE_MB=4
LOKI_INGESTION_BURST_SIZE_MB=6
#------------------------------------------------------
# Network Settings (optional)
#------------------------------------------------------
# Network configuration for containers
# MONITORING_NETWORK_SUBNET=172.20.0.0/24
#------------------------------------------------------
# Blackbox Exporter Targets (comma-separated URLs)
#------------------------------------------------------
# HTTP endpoints to monitor
BLACKBOX_HTTP_TARGETS=https://example.com,https://api.example.com/health