Skip to content
Snippets Groups Projects
Commit ab46d576 authored by Daniel Lee's avatar Daniel Lee
Browse files

adds grafana to docker-compose example

parent 42fb6aed
No related branches found
No related tags found
No related merge requests found
version: "2"
version: "3"
networks:
loki:
services:
loki:
......@@ -8,6 +11,8 @@ services:
volumes:
- $PWD:/etc/loki
command: -config.file=/etc/loki/loki-local-config.yaml
networks:
- loki
promtail:
image: grafana/promtail:make-images-static-26a87c9
......@@ -15,4 +20,15 @@ services:
- $PWD:/etc/promtail
- /var/log:/var/log
command:
-config.file=/etc/promtail/promtail-docker-config.yaml
-config.file=/etc/promtail/promtail-docker-config.yaml
networks:
- loki
grafana:
image: grafana/grafana:master
ports:
- "3000:3000"
environment:
GF_EXPLORE_ENABLED: "true"
networks:
- loki
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment