📦 NEW: Add Loki service and configuration to Docker Compose setup

This commit is contained in:
2025-05-13 10:58:37 +00:00
parent 84db17fa0e
commit 938eaf2f5f
2 changed files with 54 additions and 1 deletions

30
config/loki-config.yaml Normal file
View File

@@ -0,0 +1,30 @@
---
auth_enabled: false
server:
http_listen_port: 3100
common:
instance_addr: 127.0.0.1
path_prefix: /loki
storage:
filesystem:
chunks_directory: /loki/chunks
rules_directory: /loki/rules
replication_factor: 1
ring:
kvstore:
store: inmemory
schema_config:
configs:
- from: 2020-10-24
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
ruler:
alertmanager_url: http://localhost:9093