1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
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: ["-vvvv", "prometheus", "--containers"]
environment:
RUST_BACKTRACE: "full"
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
|