summaryrefslogtreecommitdiffstats
path: root/development/docker-compose.yml
diff options
context:
space:
mode:
authorFilip Krzywka <filip.krzywka@nokia.com>2019-01-23 12:04:57 +0100
committerFilip Krzywka <filip.krzywka@nokia.com>2019-01-23 12:07:19 +0100
commit26efcca92b010f749d98bc25e5749e1079f072ae (patch)
tree5772806924e93f2344a75f5f14e83cd13d3fdbc6 /development/docker-compose.yml
parent769acc65bb4709fa36ff3cbe16994eaf88792f74 (diff)
Add grafana to docker-compose
With default HV-VES dashboards included. Change-Id: I8c15a2d609676218dce2e63d2a0730a359abf0af Issue-ID: DCAEGEN2-1115 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'development/docker-compose.yml')
-rw-r--r--development/docker-compose.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/development/docker-compose.yml b/development/docker-compose.yml
index 83506fc3..b3257b3d 100644
--- a/development/docker-compose.yml
+++ b/development/docker-compose.yml
@@ -132,3 +132,20 @@ services:
- "9090:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
+
+ grafana:
+ image: grafana/grafana
+ ports:
+ - "3000:3000"
+ environment:
+ GF_AUTH_DISABLE_LOGIN_FORM: "true"
+ GF_AUTH_DISABLE_SIGNOUT_MENU: "true"
+ GF_AUTH_ANONYMOUS_ENABLED: "true"
+ GF_AUTH_ANONYMOUS_ORG_ROLE: "Admin"
+ volumes:
+ - ./grafana/datasources:/etc/grafana/provisioning/datasources
+ - ./grafana/dashboards-providers:/etc/grafana/provisioning/dashboards
+ # defined in ./grafana/dashboards-providers/dasboard-providers.yaml
+ - ./grafana/dashboards:/var/lib/grafana/dashboards/hv-ves
+
+