#!/bin/bash # # Refresh grafana dashboards from project-config # GF_USER="$(cat /etc/grafana/secrets/admin_user)" GF_PASSWORD="$(cat /etc/grafana/secrets/admin_password)" GF_URL="http://${GF_USER}:${GF_PASSWORD}@localhost:3000/" grafana-dashboard --debug --grafana-url="${GF_URL}" update /opt/project-config/grafana