monitoring-lite/monitoring
decentral1se 4ae2a59737
loki auth
2022-03-18 10:20:27 +01:00
..
scripts nearly there with auth 2022-03-17 16:50:34 +01:00
alertmanager.yml.tmpl loki auth 2022-03-18 10:20:27 +01:00
compose.yml loki auth 2022-03-18 10:20:27 +01:00
env loki auth 2022-03-18 10:20:27 +01:00
grafana_custom.ini nearly there with auth 2022-03-17 16:50:34 +01:00
grafana-dashboards.yml first pass at trimming monitoring stack 2022-03-17 11:58:48 +01:00
grafana-datasources.yml first pass at trimming monitoring stack 2022-03-17 11:58:48 +01:00
grafana-stacks-dashboard.json init 2022-03-17 11:15:51 +01:00
grafana-swarm-dashboard.json init 2022-03-17 11:15:51 +01:00
grafana-traefik-dashboard.json init 2022-03-17 11:15:51 +01:00
loki.htpasswd.tmpl loki auth 2022-03-18 10:20:27 +01:00
loki.yml.tmpl loki auth 2022-03-18 10:20:27 +01:00
nginx.conf.tmpl loki auth 2022-03-18 10:20:27 +01:00
prometheus_web.yml.tmpl nearly there with auth 2022-03-17 16:50:34 +01:00
prometheus.yml.tmpl more secrets, configs & alertmanager 2022-03-17 22:11:51 +01:00
README.md loki auth 2022-03-18 10:20:27 +01:00

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