Compare commits
1 Commits
main
...
monitoring
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ae7d36909 |
+29
-22
@@ -1,4 +1,4 @@
|
|||||||
TYPE=monitoring-ng:23b13cb8
|
TYPE=monitoring-ng:main
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
COMPOSE_FILE=compose.yml
|
COMPOSE_FILE=compose.yml
|
||||||
DOMAIN=m.laylotta.resisttechmonopolies.online
|
DOMAIN=m.laylotta.resisttechmonopolies.online
|
||||||
@@ -6,14 +6,15 @@ TIMEOUT=120
|
|||||||
ENABLE_BACKUPS=true
|
ENABLE_BACKUPS=true
|
||||||
|
|
||||||
## Enable this secret for Promtail / Prometheus
|
## Enable this secret for Promtail / Prometheus
|
||||||
|
COMPOSE_FILE="$COMPOSE_FILE:compose.basic-auth.yml"
|
||||||
SECRET_BASIC_AUTH_VERSION=v1
|
SECRET_BASIC_AUTH_VERSION=v1
|
||||||
|
|
||||||
## Promtail (Gathering Logs)
|
## Promtail (Gathering Logs)
|
||||||
COMPOSE_FILE="$COMPOSE_FILE:compose.promtail.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.promtail.yml"
|
||||||
LOKI_PUSH_URL=https://loki.${DOMAIN}/loki/api/v1/push
|
#LOKI_PUSH_URL=https://loki.${DOMAIN}/loki/api/v1/push
|
||||||
|
|
||||||
## Expose node and cadvisor ports instead of traefik
|
## Expose node and cadvisor ports instead of traefik
|
||||||
COMPOSE_FILE="$COMPOSE_FILE:compose.expose-ports.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.expose-ports.yml"
|
||||||
|
|
||||||
# Monitoring Server
|
# Monitoring Server
|
||||||
#
|
#
|
||||||
@@ -26,7 +27,7 @@ COMPOSE_FILE="$COMPOSE_FILE:compose.pushgateway.yml"
|
|||||||
|
|
||||||
## Loki
|
## Loki
|
||||||
# Loki Server
|
# Loki Server
|
||||||
COMPOSE_FILE="$COMPOSE_FILE:compose.loki.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.loki.yml"
|
||||||
|
|
||||||
# Set to 0 to disable retention
|
# Set to 0 to disable retention
|
||||||
LOKI_RETENTION_PERIOD=744h
|
LOKI_RETENTION_PERIOD=744h
|
||||||
@@ -39,39 +40,40 @@ LOKI_STORAGE_FILESYSTEM=1
|
|||||||
# LOKI_ACCESS_KEY_ID=bush-debrief-approval-robust-scraggly-molecule
|
# LOKI_ACCESS_KEY_ID=bush-debrief-approval-robust-scraggly-molecule
|
||||||
# LOKI_BUCKET_NAMES=loki
|
# LOKI_BUCKET_NAMES=loki
|
||||||
# SECRET_LOKI_AWS_SECRET_ACCESS_KEY_VERSION=v1
|
# SECRET_LOKI_AWS_SECRET_ACCESS_KEY_VERSION=v1
|
||||||
#
|
|
||||||
## Grafana
|
## Grafana
|
||||||
#
|
COMPOSE_FILE="$COMPOSE_FILE:compose.grafana.yml"
|
||||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.grafana.yml"
|
GF_SERVER_ROOT_URL=https://monitoring.${DOMAIN}
|
||||||
# GF_SERVER_ROOT_URL=https://monitoring.example.com
|
SECRET_GF_ADMINPASSWD_VERSION=v1
|
||||||
# SECRET_GRAFANA_ADMIN_PASSWORD_VERSION=v1
|
|
||||||
## Seperate domain for Grafana
|
## Seperate domain for Grafana
|
||||||
#GRAFANA_DOMAIN=grafana.example.com
|
GRAFANA_DOMAIN=grafana.${DOMAIN}
|
||||||
#
|
|
||||||
## Single-Sign-On with OIDC
|
## Single-Sign-On with OIDC
|
||||||
# OIDC_ENABLED=1
|
COMPOSE_FILE="$COMPOSE_FILE:compose.grafana-oidc.yml"
|
||||||
# SECRET_GRAFANA_OIDC_CLIENT_SECRET_VERSION=v1
|
OIDC_ENABLED=1
|
||||||
# OIDC_CLIENT_ID=grafana
|
SECRET_GF_OIDC_SECRET_VERSION=v1
|
||||||
# OIDC_AUTH_URL="https://authentik.example.com/application/o/authorize/"
|
OIDC_CLIENT_ID=grafana
|
||||||
# OIDC_API_URL="https://authentik.example.com/application/o/userinfo/"
|
OIDC_AUTH_URL="https://auth.resisttechmonopolies.online/application/o/authorize/"
|
||||||
# OIDC_TOKEN_URL="https://authentik.example.com/application/o/token/"
|
OIDC_API_URL="https://auth.resisttechmonopolies.online/application/o/userinfo/"
|
||||||
#
|
OIDC_TOKEN_URL="https://auth.resisttechmonopolies.online/application/o/token/"
|
||||||
|
|
||||||
## Additional grafana settings (unlikely to require editing)
|
## Additional grafana settings (unlikely to require editing)
|
||||||
# GF_SECURITY_ALLOW_EMBEDDING=1
|
# GF_SECURITY_ALLOW_EMBEDDING=1
|
||||||
# GF_INSTALL_PLUGINS=grafana-piechart-panel
|
# GF_INSTALL_PLUGINS=grafana-piechart-panel
|
||||||
#
|
#
|
||||||
## grafana SMTP configuration (optional)
|
## grafana SMTP configuration (optional)
|
||||||
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.grafana-smtp.yml"
|
||||||
# GF_SMTP_HOST=changeme
|
# GF_SMTP_HOST=changeme
|
||||||
# GF_SMTP_USER=changme
|
# GF_SMTP_USER=changme
|
||||||
# GF_SMTP_ENABLED=true
|
# GF_SMTP_ENABLED=true
|
||||||
# GF_SMTP_FROM_ADDRESS=grafana@example.com
|
# GF_SMTP_FROM_ADDRESS=grafana@example.com
|
||||||
# GF_SMTP_SKIP_VERIFY=false
|
# GF_SMTP_SKIP_VERIFY=false
|
||||||
# SECRET_GRAFANA_SMTP_PASSWORD_VERSION=v1
|
SECRET_GF_SMTP_PASSWORD_VERSION=v1
|
||||||
#
|
#
|
||||||
|
|
||||||
## Grafana Matrix Contact Point (optional)
|
## Grafana Matrix Contact Point (optional)
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.matrix-alertmanager-receiver.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.matrix-alertmanager-receiver.yml"
|
||||||
#SECRET_MATRIX_ACCESS_TOKEN_VERSION=v1
|
#SECRET_MATRIX_TOKEN_VERSION=v1
|
||||||
#GF_MATRIX_USER_ID="<user-id>"
|
#GF_MATRIX_USER_ID="<user-id>"
|
||||||
#GF_MATRIX_ROOM_ID="<room-id>"
|
#GF_MATRIX_ROOM_ID="<room-id>"
|
||||||
#GF_MATRIX_HOMESERVER_URL="<homeserver-url>"
|
#GF_MATRIX_HOMESERVER_URL="<homeserver-url>"
|
||||||
@@ -81,4 +83,9 @@ LOKI_STORAGE_FILESYSTEM=1
|
|||||||
#ALERT_BACKUP_MISSING_ENABLED=true
|
#ALERT_BACKUP_MISSING_ENABLED=true
|
||||||
#ALERT_BACKUP_NOT_SUCCESSFULL_ENABLED=true
|
#ALERT_BACKUP_NOT_SUCCESSFULL_ENABLED=true
|
||||||
#ALERT_NODE_DISK_SPACE_ENABLED=true
|
#ALERT_NODE_DISK_SPACE_ENABLED=true
|
||||||
#ALERT_NODE_MEMORY_USAGE_ENABLED=true
|
#ALERT_NODE_MEMORY_USAGE_ENABLED=true
|
||||||
|
# Node disk space alert will trigger when free disk space left is below the given number in percent
|
||||||
|
#ALERT_NODE_DISK_SPACE_LEFT=10
|
||||||
|
|
||||||
|
# Node memory usage alert will trigger when memory usage is above the given number in percent
|
||||||
|
#ALERT_NODE_MEMORY_USAGE=85
|
||||||
|
|||||||
Reference in New Issue
Block a user