I would like to ask for your help since I am in a dead end in the implementation of the dashboards, I manage to make the folders created but not the dashboards, in the structure I have already tried all from directly specifying the json file, to mount the folder like bind mount and redirect only to the folders where the files come from but nothing seems to work. Below, you can find my configuration’s files:
dashboards.yml:
apiVersion: 1
providers:
- name: VPNIBM
orgId: 1
folder: 'Blackbox'
type: file
disableDeletion: false
editable: true
allowUiUpdates: true
updateIntervalSeconds: 10
options:
path: /var/lib/grafana/dashboards
docker-compose:
version: ‘3.2’
services:
grafana:
image: grafana/grafana@sha256:1bd14d4d897fee61f183ac844dab9ecd44bc993f2ee1d76704e8091c49d60305
environment:
- GF_SECURITY_ADMIN_PASSWORD=c0ns0l3123
volumes:
- grafana-data:/var/lib/grafana
- grafana-home:/usr/share/grafana
- grafana-logs:/var/log/grafana
- ../grafana.ini:/etc/grafana/grafana.ini
- ../provisioning/dashboards/dashboards.yml:/etc/grafana/provisioning/dashboards/dashboards.yml
- ../provisioning/datasources/datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml
- ../dashboards:/var/lib/grafana/dashboards
deploy:
placement:
constraints:
- node.hostname==SRVDEVLN01
networks:
- envoy-exporters
networks:
envoy-exporters:
external: true
volumes:
grafana-data:
grafana-home:
grafana-logs: