mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-19 23:16:26 +01:00
bf1464fc33
Signed-off-by: f41gh7 <nik@victoriametrics.com>
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
(cherry picked from commit 14b9ef1e4d
)
24 lines
1.0 KiB
YAML
24 lines
1.0 KiB
YAML
services:
|
|
grafana:
|
|
container_name: grafana
|
|
image: grafana/grafana:10.3.1
|
|
depends_on:
|
|
- "vmauth"
|
|
ports:
|
|
- 3000:3000
|
|
entrypoint: ["/bin/bash", "-c"]
|
|
command: ["chmod +x /download.sh && /download.sh && /run.sh"]
|
|
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-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
|
|
- ./../../dashboards/vm/vmauth.json:/var/lib/grafana/dashboards/vmauth.json
|
|
- ./vm-datasource/download.sh:/download.sh
|
|
environment:
|
|
- "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=victoriametrics-datasource"
|
|
restart: always
|