Files
Docker-Compose/Monitor-Stack/.env.example
T
2026-06-03 00:28:45 -07:00

72 lines
2.2 KiB
Bash

# ============================================================
# Monitor Stack - Environment Variables
# Copy this file to .env and fill in your values.
# ============================================================
# ------------------------------------------------------------
# Image Versions
# Pin to specific versions to avoid unexpected upgrades.
# ------------------------------------------------------------
# Grafana Loki version (https://github.com/grafana/loki/releases)
LOKI_VERSION=3.7.2
# Prometheus version (https://github.com/prometheus/prometheus/releases)
PROMETHEUS_VERSION=3.12.0
# Alertmanager version (https://github.com/prometheus/alertmanager/releases)
ALERTMANAGER_VERSION=0.32.1
# Grafana version (https://github.com/grafana/grafana/releases)
GRAFANA_VERSION=13.0.1
# ------------------------------------------------------------
# Paths
# ------------------------------------------------------------
# Absolute path to the directory containing your config files:
# loki-config.yml, prometheus.yml, alertmanager.yml
MONITOR_STACK_CONFIG_PATH=/path/to/monitor-stack/config
# ------------------------------------------------------------
# Ports
# Host port mappings for services that expose a UI or API.
# ------------------------------------------------------------
# Prometheus web UI and API
PROMETHEUS_PORT=9090
# Alertmanager web UI and API
ALERTMANAGER_PORT=9093
# Grafana web UI
GRAFANA_PORT=3000
# ------------------------------------------------------------
# Grafana
# ------------------------------------------------------------
# Initial admin username (set on first boot only)
GRAFANA_ADMIN_USER=admin
# Initial admin password — change this before first boot
GRAFANA_ADMIN_PASSWORD=changeme
# Secret key used to sign sessions and cookies.
# Changing this after first boot will invalidate all active sessions.
# Generate with: openssl rand -hex 32
GRAFANA_SECRET_KEY=
# ------------------------------------------------------------
# Timezone
# Applied to all containers for consistent log timestamps.
# Use a valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# ------------------------------------------------------------
TZ=America/Los_Angeles