From 130952355fae37d4cc4b566449c0dac327294aac Mon Sep 17 00:00:00 2001
From: royalcat <k.adamovich20@gmail.com>
Date: Fri, 12 Apr 2024 11:28:25 +0300
Subject: [PATCH] loki update

---
 docker-compose.yaml | 2 +-
 loki/config.yaml    | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/docker-compose.yaml b/docker-compose.yaml
index ca9fc29..4cd3946 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -43,7 +43,7 @@ services:
       - default
 
   loki:
-    image: grafana/loki:2.9.6
+    image: grafana/loki:3.0.0
     restart: unless-stopped
     deploy:
       resources:
diff --git a/loki/config.yaml b/loki/config.yaml
index 67e6a8e..325ac58 100644
--- a/loki/config.yaml
+++ b/loki/config.yaml
@@ -42,6 +42,13 @@ schema_config:
       index:
         prefix: index_
         period: 24h
+    - from: 2024-04-12
+      object_store: filesystem
+      store: tsdb
+      schema: v13
+      index:
+        prefix: index_
+        period: 24h
 
 ruler:
   alertmanager_url: http://localhost:9093