From 2eebcdbef439129c1eac89821f65389ccf4ffcbe Mon Sep 17 00:00:00 2001 From: gbanyan Date: Mon, 27 Oct 2025 21:06:53 +0800 Subject: [PATCH] Update README --- README.md | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 933d5ec..0e9d318 100644 --- a/README.md +++ b/README.md @@ -10,21 +10,10 @@ This repository stores the JSON dashboards that TrueNAS Grafana loads via provis ## Workflow -1. Modify dashboards in Grafana and export via the API or provisioning scripts. -2. Save updates into this directory structure. +1. Already set provisioning in Grafana dashboard, it will auto detect change and pull +2. Modify dashboards file and then Grafana will load automatically +3. Currently I adopt local storage repo, Grafana can also use remote git repo. 3. Commit and push changes so Grafana provisioning always matches Git. -## Sync commands -``` -cd /mnt/RAID10/Apps/obs/grafana/provisioning -# Pull latest changes from remote -git pull --rebase -# Stage and commit local updates -git add . -git commit -m "Update dashboards" -# Push to Gitea remote -git push -``` - -Provisioning is enabled via `/usr/share/grafana/conf/custom.ini`, which is bind-mounted from `/mnt/RAID10/Apps/obs/grafana/conf/custom.ini`. +PS: Provisioning is enabled via environment 'GF_FEATURE_TOGGLES_ENABLE=provisioning'