centralised grafana/loki/prometheus monitoring stack
scripts | ||
.gitignore | ||
alertmanager.yml.tmpl | ||
compose.yml | ||
env | ||
grafana_custom.ini | ||
grafana-dashboards.yml | ||
grafana-datasources.yml | ||
grafana-stacks-dashboard.json | ||
grafana-swarm-dashboard.json | ||
grafana-traefik-dashboard.json | ||
loki.htpasswd.tmpl | ||
loki.yml.tmpl | ||
nginx.conf.tmpl | ||
prometheus_web.yml.tmpl | ||
prometheus.yml.tmpl | ||
README.md |
monitoring
grafana/loki/prometheus
printf $(pass show hosts/swarm.autonomic.zone/minio/secret_key) | docker secret create gp_monitoring_loki_aws_secret_access_key_v1 -
printf password | docker secret create gp_monitoring_grafana_admin_password_v1 -
printf <...> | docker secret create gp_monitoring_grafana_oauth_client_secret_v1 -
pwgen -s 64 1; ./scripts/genpw.py # input password & get hashed output for secret
printf <...> | docker secret create gp_monitoring_prometheus_admin_password_v1 -
pwgen -s 64 1; ./scripts/genpw.py # input password & get hashed output for secret
printf <...> | docker secret create gp_monitoring_loki_admin_password_v1 -
printf <...> | docker secret create gp_monitoring_alertmanager_smtp_password_v1 -
set -a && source env && set +a
docker context use monitor.autonomic.zone
docker stack deploy -c compose.yml gp_monitoring