scaphandre 0.5.0

Electrical power consumption measurement agent.
Documentation
version: '3.2'

services:

  scaphandre:
    image: scaphandre-dev
    ports: 
      - "8089:8080"
    volumes:
      - type: bind
        source: /proc
        target: /proc
      - type: bind
        source: /sys/class/powercap
        target: /sys/class/powercap
      - type: bind
        source: /var/run/docker.sock
        target: /var/run/docker.sock
    command: ["-v", "prometheus", "--containers"] 
    networks:
      - scaphandre-network
    
  prometheus:
    build:
      context: ./prom-dev
    ports: 
      - "9099:9090"
    volumes: 
      - promdata-scaphandre:/prometheus 
    networks:
      - scaphandre-network

volumes:
  promdata-scaphandre:

networks:
  scaphandre-network:
    driver: bridge
    ipam:
      config:
        - subnet: 192.168.33.0/24