Skip to content

Instantly share code, notes, and snippets.

@neilkillen
Created May 30, 2020 14:52
Show Gist options
  • Save neilkillen/be24082af6312ee83901e06030496f94 to your computer and use it in GitHub Desktop.
Save neilkillen/be24082af6312ee83901e06030496f94 to your computer and use it in GitHub Desktop.
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