docker

Docker for services
git clone git://git.unixkoans.com/docker.git
Log | Files | Refs

docker-compose.yml (534B)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '2'

services:
  cadvisor:
    image: budry/cadvisor-arm
    restart: always
    ports:
      - 9002:8080
    volumes:
      - /var/run:/var/run:rw
      - /sys:/sys:ro
      - /dev/disk/:/dev/disk:ro
  node-exporter:
    image: snoopyowns/node-exporter-arm
    restart: always
    ports:
      - 9003:9100
    volumes:
      - /proc:/host/proc:ro
      - /sys:/host/sys:ro
    command: "--collector.procfs /host/proc --collector.sysfs /host/sys --collector.filesystem.ignored-mount-points '^/(sys|proc|dev|host|etc)($$|/)'"