Switch to local_storage_config with /loki-logs

This commit is contained in:
Joey Hafner 2022-07-14 13:56:26 -07:00
parent b501fcf020
commit b0b4a65e36
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -16,6 +16,9 @@ common:
kvstore:
store: inmemory
local_storage_config:
directory: /loki-logs
schema_config:
configs:
- from: 2020-10-24