labtime/configs/example-stack/compose.yaml

17 lines
366 B
YAML

---
services:
prometheus:
image: prom/prometheus
ports:
- 9090:9090
volumes:
- prometheus-data/prometheus.yaml:/etc/prometheus/prometheus.yaml
command:
- '--config.file=/etc/prometheus/prometheus.yaml'
extra_hosts:
- "host.docker.internal:host-gateway"
grafana:
image: grafana/grafana
ports:
- 3000:3000