Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
version: '2.4'
networks:
prom.local:
services:
prometheus:
image: prom/prometheus
volumes:
- ./prometheus/config/:/etc/prometheus/
- ./prometheus/data:/prometheus
command:
- "--config.file=/etc/prometheus/prometheus_ver1.yml"
networks:
prom.local:
ports:
- '9090:9090'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.