Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prometheus:
- image: prom/prometheus:latest
- container_name: prometheus
- restart: unless-stopped
- volumes:
- - prometheus-etc:/etc/prometheus/
- - prometheus-data:/prometheus
- command:
- - '--config.file=/etc/prometheus/prometheus.yml'
- - '--storage.tsdb.path=/prometheus'
- - '--web.external-url=http://alertmanager:9093'
- - '--web.enable-remote-write-receiver'
- expose:
- - 9090
- ports:
- - 9090:9090
- links:
- - node-exporter:node-exporter
- networks:
- - monitoring
- loki:
- image: grafana/loki:latest
- ports:
- - "3100:3100"
- volumes:
- - loki-etc:/etc/loki/
- command: -config.file=/etc/loki/local-config.yml
- networks:
- - monitoring
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement