From b0b4a65e3689001e4933b917ad169116d8235bd7 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 14 Jul 2022 13:56:26 -0700 Subject: [PATCH] Switch to local_storage_config with /loki-logs --- server/config/monitoring/docker-compose.yml | 2 +- server/config/monitoring/loki-config.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/server/config/monitoring/docker-compose.yml b/server/config/monitoring/docker-compose.yml index d244443..f0f1011 100644 --- a/server/config/monitoring/docker-compose.yml +++ b/server/config/monitoring/docker-compose.yml @@ -66,7 +66,7 @@ services: ports: - "3100:3100" volumes: - - ${DOCKER_DATA}/loki:/etc/loki + - ${DOCKER_DATA}/loki-logs:/loki-logs - ./loki-config.yml:/etc/loki/loki-config.yml # not sure if this works. If not, just edit the config within the data volume restart: "no" command: -config.file=/etc/loki/loki-config.yml diff --git a/server/config/monitoring/loki-config.yml b/server/config/monitoring/loki-config.yml index 5dec720..386a4a1 100644 --- a/server/config/monitoring/loki-config.yml +++ b/server/config/monitoring/loki-config.yml @@ -16,6 +16,9 @@ common: kvstore: store: inmemory +local_storage_config: + directory: /loki-logs + schema_config: configs: - from: 2020-10-24