msb3/prometheus/docker-compose.yml

19 lines
348 B
YAML

version: '3'
services:
prometheus:
image: prom/prometheus
ports:
- '9090:9090'
volumes:
- './prometheus.yml:/etc/prometheus/prometheus.yml'
grafana:
image: grafana/grafana
ports:
- '9091:80'
- '9092:3000'
environment:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: admin