Files
mtusi2026lab7/infra/loki/loki.yml
T
dawudukandCursor 9b501b2020 Закрыть внешний вход TLS и выдавать секреты через OpenBao.
LB ходит в API только с клиентским сертификатом нужной identity, остальные связи проверяют серверный сертификат, root token в приложение не попадает.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-26 19:48:38 +03:00

37 lines
685 B
YAML

auth_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 9096
http_tls_config:
cert_file: /certs/loki.crt
key_file: /certs/loki.key
grpc_tls_config:
cert_file: /certs/loki.crt
key_file: /certs/loki.key
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: 2024-01-01
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
limits_config:
allow_structured_metadata: true