updated compose file fixing some bugs

This commit is contained in:
root 2015-08-18 15:40:02 +02:00
parent 988c6c97c0
commit df0a31125e
1 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,11 @@
prometheus:
build: "/prom/"
image: "prom/prometheus"
expose:
- "9090"
environment:
- "config.file=documentation/examples/prometheus.yml"
exporter:
image: "prom/prom_container-exporter"
image: "prom/container-exporter"
volumes:
- "/sys/fs/cgroup:/cgroup"
- "/var/run/docker.sock:/var/run/docker.sock prom/container-exporter"