feat: add loki for log ingestion
This commit is contained in:
parent
e8521f56ca
commit
cfd3b910a4
1 changed files with 11 additions and 0 deletions
11
service.yml
11
service.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue