This repository was archived by the owner on Jul 31, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,22 @@ A data source backend plugin consists of both frontend and backend components.
5858 mage -l
5959 ```
6060
61+ ### Local Development
62+
63+ Set environment variables
64+ ```
65+ PLUGIN_REPO = local path to cloned repo
66+ GIT_SSH_KEY = path to private git sshkey
67+ ```
68+
69+ Build frontend and backend and start docker-compose
70+
71+ ```
72+ docker-compose up
73+ ```
74+
75+ Under datasources the Grafana Dashboard Plugin Sync should be available now
76+
6177## Learn more
6278
6379- [ Build a data source backend plugin tutorial] ( https://grafana.com/tutorials/build-a-data-source-backend-plugin )
Original file line number Diff line number Diff line change 1+ grafana :
2+ image : grafana/grafana:8.1.2
3+ container_name : grafana-vhv
4+ environment :
5+ - GF_PANELS_DISABLE_SANITIZE_HTML=TRUE
6+ - GF_SECURITY_ADMIN_PASSWORD=demo
7+ - GF_PATHS_PROVISIONING=/usr/share/grafana/custom/
8+ - GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=novatec-dashboardsync-datasource
9+ - SSH_KNOWN_HOSTS=github.com
10+ - GF_ALLOWED_ORIGINS="http://localhost:3000"
11+ volumes :
12+ - ${PLUGIN_REPO}:/var/lib/grafana/plugins
13+ - ${GIT_SSH_KEY}:/usr/share/grafana/.GF_PANELS_DISABLE_SANITIZE_HTML
14+ ports :
15+ - 3001:3000
You can’t perform that action at this time.
0 commit comments