Root repository and issue tracker for Monarch-Pass.net services, except Glitch City Laboratories and Infinitypedia
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.

29 lines
702 B

# 8010: cadvisor
# 8015: prometheus
version: '2.4'
services:
# cadvisor
cadvisor:
image: google/cadvisor
restart: on-failure
ports:
- "127.0.0.1:8010:8080"
volumes:
- "/:/rootfs:ro"
- "/var/run:/var/run:rw"
- "/sys:/sys:ro"
- "/var/lib/docker/:/var/lib/docker:ro"
- "/dev/disk/:/dev/disk:ro"
# prometheus
prometheus:
image: prom/prometheus
restart: on-failure
links:
- cadvisor
ports:
- "127.0.0.1:8015:9090"
volumes:
- "./prometheus/config:/etc/prometheus"
- "./prometheus/data:/prometheus"