add loki + promtail

This commit is contained in:
Matt Reeves 2024-10-14 22:11:29 -04:00
parent 63c9149efb
commit fd97ab2010

View file

@ -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: