prom/prometheus image Prometheus içindir
grafana/grafana image Grafana içindir
prom/alertmanager image AlertManager içindir
Şöyle yaparız
services:prometheus:image: prom/prometheus:v2.46.0ports:- 9090:9090volumes:- ./prometheus/tmp:/prometheus- ./prometheus/config:/etc/prometheuscommand: --config.file=/etc/prometheus/prometheus.yml --log.level=debuggrafana:image: grafana/grafana:10.0.3ports:- 3000:3000volumes:- ./grafana/tmp:/var/lib/grafana- ./grafana/grafana.ini:/etc/grafana/grafana.inialertmanager:image: prom/alertmanager:v0.25.0ports:- "9093:9093"volumes:- ./alert-manager/tmp:/data- ./alert-manager/config:/configcommand: --config.file=/config/alertmanager.yml --log.level=debug
Hiç yorum yok:
Yorum Gönder