add loki + promtail
This commit is contained in:
parent
63c9149efb
commit
fd97ab2010
1 changed files with 19 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue