Skip to content

Instantly share code, notes, and snippets.

@AstraSerg
AstraSerg / docker-compose.yml
Created February 26, 2019 12:01 — forked from ssplatt/docker-compose.yml
docker - prometheus with snmp_exporter, node_exporter, and cadvisor
version: "3"
services:
prometheus:
image: prom/prometheus
volumes:
- /opt/docker-persist/prometheus/data:/prometheus-data
ports:
- 9090:9090
restart: always
command: --config.file=/prometheus-data/prometheus.yml