2024-01-22 14:45:31 +00:00
|
|
|
services:
|
|
|
|
grafana:
|
|
|
|
container_name: grafana
|
2024-06-25 11:57:52 +00:00
|
|
|
image: grafana/grafana:10.4.2
|
2024-01-22 14:45:31 +00:00
|
|
|
depends_on:
|
|
|
|
- "vmauth"
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
volumes:
|
|
|
|
- grafanadata:/var/lib/grafana
|
2024-09-27 17:08:05 +00:00
|
|
|
- ./provisioning/datasources/victoriametrics-datasource/cluster.yml:/etc/grafana/provisioning/datasources/cluster.yml
|
2024-01-22 14:45:31 +00:00
|
|
|
- ./provisioning/dashboards:/etc/grafana/provisioning/dashboards
|
|
|
|
- ./provisioning/plugins/:/var/lib/grafana/plugins
|
|
|
|
- ./../../dashboards/vm/victoriametrics-cluster.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
|
2024-06-25 09:15:29 +00:00
|
|
|
- ./../../dashboards/vm/vmauth.json:/var/lib/grafana/dashboards/vmauth.json
|
2024-01-22 14:45:31 +00:00
|
|
|
environment:
|
2024-10-30 21:18:38 +00:00
|
|
|
- "GF_INSTALL_PLUGINS=https://github.com/VictoriaMetrics/victoriametrics-datasource/releases/download/v0.10.1/victoriametrics-datasource-v0.10.1.zip;victoriametrics-datasource"
|
2024-02-20 13:31:15 +00:00
|
|
|
- "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=victoriametrics-datasource"
|
2024-01-22 14:45:31 +00:00
|
|
|
restart: always
|