Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring Enhancements - Dashboards Autoprovisoning [Docker Swarm] #759

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Using the official Grafana image for version 11.2.0
FROM grafana/grafana:11.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ providers:
allowUiUpdates: true
options:
# <string, required> path to dashboard files on disk. Required when using the 'file' type
path: /usr/share/grafana-conf/dashboards
path: /usr/share/grafana-conf/provisioning/dashboards
# <bool> use folder names from filesystem to create folders in Grafana
foldersFromFilesStructure: true
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,17 @@ services:
tag: "{\"name\":\"{{.Name}}\",\"id\":\"{{.ID}}\"}"

grafana:
image: ghcr.io/datakaveri/grafana:10.2.3
image: test-grafana:11.2.0
read_only: true
volumes:
- type: volume
source: grafana-volume
target: /var/lib/grafana
volume:
nocopy: true
- type: bind
source: "./grafana/conf/provisioning/dashboards/"
target: "/usr/share/grafana-conf/provisioning/dashboards/"
secrets:
- grafana-super-admin-passwd
- grafana-super-admin-username
Expand Down Expand Up @@ -285,4 +288,3 @@ secrets:
file: secrets/passwords/grafana-super-admin-username
blackbox-targets:
file: secrets/configs/blackbox-targets.yaml