updated compose file fixing some bugs
This commit is contained in:
1 parent
988c6c97c0
commit
df0a31125e
1 file changed
+4
-2
+4
-2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user