Put grafana on port 3030.

This commit is contained in:
Henry de Valence 2020-02-14 16:47:00 -08:00 committed by Deirdre Connolly
parent 8bff6ada6c
commit 7f91099172
1 changed files with 3 additions and 1 deletions

View File

@ -35,5 +35,7 @@ sudo docker volume create prometheus-storage
sudo docker run --network host -v prometheus-storage:/prometheus -v /path/to/zebra/prometheus.yaml:/etc/prometheus/prometheus.yml prom/prometheus
# run grafana
sudo docker run -d --network host -v grafana-storage:/var/lib/grafana grafana/grafana
sudo docker run -d --network host -e GF_SERVER_HTTP_PORT=3030 -v grafana-storage:/var/lib/grafana grafana/grafana
```
Now the grafana dashboard is available at http://localhost:3030 ; the default password is admin/admin.