You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wubloader/monitoring/docker-compose.yml

24 lines
688 B
YAML

version: "3"
services:
prometheus:
image: "wubloader_prometheus:latest"
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--storage.tsdb.retention=30d"
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
- "--web.console.templates=/usr/share/prometheus/consoles"
restart: "on-failure"
volumes:
- "/storage/wubloader-metrics/prometheus:/prometheus"
ports:
- "9090:9090"
grafana:
image: "grafana/grafana:8.5.15"
restart: "on-failure"
volumes:
- "/storage/wubloader-metrics/grafana:/var/lib/grafana"
- "./grafana:/etc/grafana"
ports:
- "1338:3000"