diff --git a/docker/grafana/docker-compose.yml b/docker/grafana/docker-compose.yml index e83798f..92d4ca2 100644 --- a/docker/grafana/docker-compose.yml +++ b/docker/grafana/docker-compose.yml @@ -22,6 +22,25 @@ services: volumes: - /docker/appdata/grafana:/etc/grafana/provisioning/datasources + loki: + image: grafana/loki:2.4.0 + container_name: loki + volumes: + - /docker/appdata/loki:/etc/loki + ports: + - "3100:3100" + restart: unless-stopped + command: -config.file=/etc/loki/loki-config.yml + + promtail: + image: grafana/promtail:2.4.0 + container_name: promtail + volumes: + - /var/log:/var/log + - /docker/appdata/promtail:/etc/promtail + restart: unless-stopped + command: -config.file=/etc/promtail/promtail-config.yml + snmp-exporter: image: prom/snmp-exporter:v0.26.0 volumes: