docker-compose environment for the entire v.st system
https://v.st/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
prometheus:
|
|
|
|
image: prom/prometheus
|
|
|
|
restart: always
|
|
|
|
container_name: prometheus
|
|
|
|
user: root
|
|
|
|
volumes:
|
|
|
|
- ./data/prometheus/storage:/prometheus:rw
|
|
|
|
- ./prometheus/prometheus.yaml:/etc/prometheus/prometheus.yml:ro
|
|
|
|
- ./prometheus/entrypoint.sh:/entrypoint.sh:ro
|
|
|
|
entrypoint: ["/entrypoint.sh"]
|
|
|
|
|
|
|
|
cadvisor:
|
|
|
|
image: gcr.io/cadvisor/cadvisor:latest
|
|
|
|
restart: always
|
|
|
|
container_name: cadvisor
|
|
|
|
command:
|
|
|
|
- '--housekeeping_interval=15s'
|
|
|
|
- '--docker_only=true'
|
|
|
|
volumes:
|
|
|
|
- /:/rootfs:ro
|
|
|
|
- /var/run:/var/run:rw
|
|
|
|
- /sys:/sys:ro
|
|
|
|
- /var/lib/docker/:/var/lib/docker:ro
|
|
|
|
|