mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-18 22:52:11 +01:00
7d98c200eb
The plugin was renamed in https://github.com/VictoriaMetrics/victoriametrics-datasource/pull/178
Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit ee66fb4387
)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
23 lines
1013 B
YAML
23 lines
1013 B
YAML
services:
|
|
grafana:
|
|
container_name: grafana
|
|
image: grafana/grafana:10.4.2
|
|
depends_on:
|
|
- "victoriametrics"
|
|
ports:
|
|
- 3000:3000
|
|
volumes:
|
|
- grafanadata:/var/lib/grafana
|
|
- ./provisioning/datasources/victoriametrics-datasource:/etc/grafana/provisioning/datasources
|
|
- ./provisioning/dashboards:/etc/grafana/provisioning/dashboards
|
|
- ./provisioning/plugins/:/var/lib/grafana/plugins
|
|
- ./../../dashboards/vm/victoriametrics.json:/var/lib/grafana/dashboards/vm.json
|
|
- ./../../dashboards/vm/vmagent.json:/var/lib/grafana/dashboards/vmagent.json
|
|
- ./../../dashboards/vm/vmalert.json:/var/lib/grafana/dashboards/vmalert.json
|
|
environment:
|
|
- "GF_INSTALL_PLUGINS=https://github.com/VictoriaMetrics/victoriametrics-datasource/releases/download/v0.8.2/victoriametrics-datasource-v0.8.2.zip;victoriametrics-datasource"
|
|
- "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=victoriametrics-datasource"
|
|
networks:
|
|
- vm_net
|
|
restart: always
|