updated compose file fixing some bugs
This commit is contained in:
parent
988c6c97c0
commit
df0a31125e
@ -1,9 +1,11 @@
|
|||||||
prometheus:
|
prometheus:
|
||||||
build: "/prom/"
|
image: "prom/prometheus"
|
||||||
expose:
|
expose:
|
||||||
- "9090"
|
- "9090"
|
||||||
|
environment:
|
||||||
|
- "config.file=documentation/examples/prometheus.yml"
|
||||||
exporter:
|
exporter:
|
||||||
image: "prom/prom_container-exporter"
|
image: "prom/container-exporter"
|
||||||
volumes:
|
volumes:
|
||||||
- "/sys/fs/cgroup:/cgroup"
|
- "/sys/fs/cgroup:/cgroup"
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock prom/container-exporter"
|
- "/var/run/docker.sock:/var/run/docker.sock prom/container-exporter"
|
||||||
|
Loading…
Reference in New Issue
Block a user