1
0
mirror of https://github.com/coltoneshaw/CS-Repro-Mattermost.git synced 2025-12-23 10:01:30 +01:00

Add Promtail and Loki support for viewing Logs in Grafana (#20)

* add promtail loki support

* updated images and removed arch directives in docker-compose

* fix grafana logs

* add restart-grafana make command

* clean up enhanced logs dashboard

* update both mattermost servers to use the same version

* update docker-compose and promtail config to use host path mounts for logs

* clean up dashboard for good
This commit is contained in:
Sven Hüster
2025-05-09 21:35:07 +02:00
committed by GitHub
parent 7c2f073074
commit 87f24d2469
9 changed files with 996 additions and 30 deletions

View File

@@ -36,7 +36,7 @@ run:
run-core:
@echo "Starting the core services... hang in there."
@docker-compose up -d postgres openldap prometheus grafana elasticsearch mattermost keycloak mitmproxy
@docker-compose up -d postgres openldap prometheus grafana elasticsearch mattermost keycloak loki promtail
run-db-replicas:
@echo "Starting with replicas. Hang in there..."
@@ -93,6 +93,14 @@ restart-mattermost:
@docker start cs-repro-mattermost
@make check-mattermost
restart-grafana:
@echo "Restarting Grafana container"
@docker stop cs-repro-grafana
@wait
@echo "Starting Grafana container"
@docker start cs-repro-grafana
@echo "Grafana restarted"
reset:
@echo "Resetting..."
@make delete-data