From 3e07109ad6c77f1db1adef2ed68c69d88846ea0a Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Wed, 10 Dec 2025 17:18:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(loki):=20=E4=BF=AE=E6=AD=A3=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E8=B7=AF=E5=BE=84=E5=92=8C=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新Loki服务的配置文件路径和名称,从local-config.yaml改为loki-config.yaml,确保配置加载正确 --- dbSer/loki/stack.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dbSer/loki/stack.yml b/dbSer/loki/stack.yml index 85a5a25..f860af0 100644 --- a/dbSer/loki/stack.yml +++ b/dbSer/loki/stack.yml @@ -1,9 +1,9 @@ -## RUN: docker compose -p loki --env-file ./dbSer/loki/stack.ymlenv.cfg -f ./dbSer/loki/stack.yml up -d +## RUN: docker compose -p loki --env-file ./dbSer/loki/env.cfg -f ./dbSer/loki/stack.yml up -d services: loki: image: ${IMAGE_NAME}:${IMAGE_TAG} ports: - "3100:3100" volumes: - - /data/loki/local-config.yaml:/etc/loki/local-config.yaml - command: -config.file=/etc/loki/local-config.yaml \ No newline at end of file + - /data/loki/loki-config.yaml:/etc/loki/loki-config.yaml + command: -config.file=/etc/loki/loki-config.yaml