node-exporter, prometheus, grafana and friends.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1010 B

---
services:
node-exporter:
container_name: node-exporter
image: prom/node-exporter:latest
network_mode: host
grafana:
container_name: grafana
image: grafana/grafana:latest
network_mode: host
data-generator:
container_name: data-generator
build:
context: ../prometheus-data-generator/
network_mode: host
volumes:
- ../prometheus-data-generator/config.yml:/config.yml
prometheus:
container_name: prometheus
image: prom/prometheus:latest
network_mode: host
volumes:
- ../forge/monitor/prometheus.yml:/etc/prometheus/prometheus.yml
- ./alert.rules.yml:/etc/prometheus/alert.rules.yml
alertmanager:
container_name: alertmanager
image: prom/alertmanager
network_mode: host
volumes:
- ./alertmanager.yml:/etc/alertmanager/alertmanager.yml
prom2teams:
image: idealista/prom2teams:2.7.0
restart: unless-stopped
network_mode: host
environment:
PROM2TEAMS_CONNECTOR: webhookurl