Skip to content

Commit a27109c

Browse files
committed
adds chronograf to docker-compose file
Chronograf can be used to visualise the contents of the influxdb
1 parent aabcb81 commit a27109c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docker/docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,17 @@ services:
1414
- INFLUXDB_ADMIN_PASSWORD=passw0rd
1515
- INFLUXDB_HTTP_BIND_ADDRESS=:8087
1616
- INFLUXDB_HTTP_AUTH_ENABLED=false
17+
chronograf:
18+
image: chronograf:latest
19+
network_mode: host
20+
volumes:
21+
- chronograf-storage:/var/lib/chronograf
22+
depends_on:
23+
- influxdbv1
24+
environment:
25+
- INFLUXDB_URL=http://localhost:8087
26+
- INFLUXDB_USERNAME=tester
27+
- INFLUXDB_PASSWORD=passw0rd
1728
volumes:
1829
influxdb-storage:
30+
chronograf-storage:

0 commit comments

Comments
 (0)