feat: add loki for log ingestion

This commit is contained in:
Marc 2024-06-11 23:09:55 -04:00
parent e8521f56ca
commit cfd3b910a4
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -2,9 +2,15 @@ name: panopticon
volumes: volumes:
- name: grafana-storage - name: grafana-storage
- name: prometheus-storage - name: prometheus-storage
- name: loki-storage
ports: ports:
# Grafana web
- host: 3100 - host: 3100
container: 3000 container: 3000
# Loki
- host: 3101
container: 3100
# Prometheus
- host: 9090 - host: 9090
container: 9090 container: 9090
containers: containers:
@ -13,6 +19,11 @@ containers:
volumes: volumes:
- name: grafana-storage - name: grafana-storage
container: /var/lib/grafana container: /var/lib/grafana
- name: loki
image: grafana/loki:main-a08ee68 # Updated: 11/6/2024
volumes:
- name: loki-storage
container: /loki
- name: prometheus - name: prometheus
image: prom/prometheus image: prom/prometheus
volumes: volumes: