Move 'stacks' directory to 'compose' and refactor slides accordingly

This commit is contained in:
Jerome Petazzoni
2019-07-30 05:13:03 -05:00
parent 9a184c6d44
commit dbe290aaba
29 changed files with 63 additions and 95 deletions

View File

@@ -0,0 +1,30 @@
version: "3"
services:
prometheus:
build: .
image: 127.0.0.1:5000/prom
ports:
- "9090:9090"
node:
image: prom/node-exporter
command: --path.procfs /host/proc --path.sysfs /host/proc --collector.filesystem.ignored-mount-points "^(sys|proc|dev|host|etc)($$|/)"
deploy:
mode: global
volumes:
- "/proc:/host/proc"
- "/sys:/host/sys"
- "/:/rootfs"
cadvisor:
image: google/cadvisor
deploy:
mode: global
volumes:
- "/:/rootfs"
- "/var/run:/var/run"
- "/sys:/sys"
- "/var/lib/docker:/var/lib/docker"