2015-08-18 14:36:46 +02:00
|
|
|
prometheus:
|
2015-08-18 16:58:23 +02:00
|
|
|
build: "prom/"
|
|
|
|
ports:
|
|
|
|
- "9090:9090"
|
2015-11-17 16:24:31 +01:00
|
|
|
name: prometheus
|
2015-11-09 14:03:57 +01:00
|
|
|
links:
|
|
|
|
- "exporter:export"
|
|
|
|
- "cadvisor:cad"
|
2015-08-18 16:58:23 +02:00
|
|
|
|
2015-08-18 14:40:38 +02:00
|
|
|
exporter:
|
2015-08-18 15:40:02 +02:00
|
|
|
image: "prom/container-exporter"
|
2015-08-18 14:36:46 +02:00
|
|
|
volumes:
|
2015-08-18 16:58:23 +02:00
|
|
|
- /sys/fs/cgroup:/cgroup
|
2015-09-22 23:58:37 +02:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2015-08-18 16:58:23 +02:00
|
|
|
ports:
|
|
|
|
- "9104:9104"
|
2015-08-18 14:36:46 +02:00
|
|
|
expose:
|
|
|
|
- "9104"
|
2015-11-17 16:24:31 +01:00
|
|
|
name: exporter
|
2015-08-18 14:36:46 +02:00
|
|
|
|
|
|
|
sqlite3:
|
|
|
|
image: "prom/promdash"
|
|
|
|
command:
|
|
|
|
- "./bin/rake db:migrate"
|
|
|
|
volumes:
|
|
|
|
- "/tmp/prom:/tmp/prom"
|
|
|
|
environment:
|
|
|
|
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
|
|
|
|
|
|
|
|
promdash:
|
|
|
|
image: "prom/promdash"
|
2015-08-18 16:58:23 +02:00
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
2015-08-18 14:36:46 +02:00
|
|
|
expose:
|
|
|
|
- "3000"
|
|
|
|
volumes:
|
2015-08-18 16:58:23 +02:00
|
|
|
- /tmp/prom:/tmp/prom
|
2015-08-18 14:36:46 +02:00
|
|
|
environment:
|
|
|
|
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
|
2015-11-17 16:24:31 +01:00
|
|
|
name: promdash
|
2015-08-20 11:35:21 +02:00
|
|
|
|
|
|
|
cadvisor:
|
|
|
|
image: "google/cadvisor"
|
|
|
|
volumes:
|
|
|
|
- "/:/rootfs:ro"
|
|
|
|
- "/var/run:/var/run:rw"
|
|
|
|
- "/sys:/sys:ro"
|
|
|
|
- "/var/lib/docker/:/var/lib/docker:ro"
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
expose:
|
|
|
|
- "8080"
|
2015-11-17 16:24:31 +01:00
|
|
|
name: cadvisor
|