prometheus/docker-compose.yml

51 lines
960 B
YAML
Raw Normal View History

prometheus:
2015-08-18 16:58:23 +02:00
build: "prom/"
ports:
- "9090:9090"
container_name: prometheus
2015-08-18 16:58:23 +02:00
exporter:
2015-08-18 15:40:02 +02:00
image: "prom/container-exporter"
volumes:
2015-08-18 16:58:23 +02:00
- /sys/fs/cgroup:/cgroup
- /var/run/docker.sock:/var/run/docker.sock prom/container-exporter
ports:
- "9104:9104"
expose:
- "9104"
container_name: exporter
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"
expose:
- "3000"
volumes:
2015-08-18 16:58:23 +02:00
- /tmp/prom:/tmp/prom
environment:
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
container_name: promdash
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"
container_name: cadvisor