Skip to content

Commit 258959c

Browse files
committed
added grafana to docker compose
1 parent 076d0f6 commit 258959c

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

examples/docker/docker-compose.yml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,19 @@ services:
111111
depends_on:
112112
- cadvisor
113113

114-
# grafana:
115-
# image: grafana/grafana:latest
116-
# container_name: grafana
117-
# ports:
118-
# - 2999:3000
119-
# volumes:
120-
# # Share the named volume with the grafana container
121-
# - grafana-dir:/etc/grafana
122-
# environment:
123-
# GF_PATHS_CONFIG: /etc/grafana/grafana.ini
124-
# GF_SECURITY_ALLOW_EMBEDDING: 'true'
125-
# depends_on:
126-
# - prometheus
114+
grafana:
115+
image: grafana/grafana:latest
116+
container_name: grafana
117+
ports:
118+
- 2999:3000
119+
volumes:
120+
# Share the named volume with the grafana container
121+
- grafana-dir:/etc/grafana
122+
environment:
123+
GF_PATHS_CONFIG: /etc/grafana/grafana.ini
124+
GF_SECURITY_ALLOW_EMBEDDING: 'true'
125+
depends_on:
126+
- prometheus
127+
128+
volumes:
129+
grafana-dir: {}

0 commit comments

Comments
 (0)