mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
69e59ac9b7
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3920 https://github.com/VictoriaMetrics/grafana-datasource/issues/113
24 lines
1 KiB
YAML
24 lines
1 KiB
YAML
version: "3.5"
|
|
services:
|
|
grafana:
|
|
container_name: grafana
|
|
image: grafana/grafana:9.5.15
|
|
depends_on:
|
|
- "vmauth"
|
|
ports:
|
|
- 3000:3000
|
|
entrypoint: ["/bin/bash", "-c"]
|
|
command: ["chmod +x /download-vm-datasource.sh && /download-vm-datasource.sh && /run.sh"]
|
|
volumes:
|
|
- grafanadata:/var/lib/grafana
|
|
- ./vm-datasource/config:/etc/grafana/provisioning/datasources
|
|
- ./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
|
|
- ./vm-datasource/scripts/download-vm-datasource.sh:/download-vm-datasource.sh
|
|
environment:
|
|
- "GF_ALLOW_LOADING_UNSIGNED_PLUGINS=victoriametrics-datasource"
|
|
- "GF_DEFAULT_APP_MODE=development"
|
|
restart: always
|