forked from DevOps/deploy.stack
chore(dbSer/loki): 添加Loki服务的volume挂载配置
添加本地配置文件挂载到Loki容器中,以支持自定义配置
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
|
## RUN: docker compose -p loki --env-file ./dbSer/loki/stack.ymlenv.cfg -f ./dbSer/loki/stack.yml up -d
|
||||||
services:
|
services:
|
||||||
loki:
|
loki:
|
||||||
image: ${IMAGE_NAME}:${IMAGE_TAG}
|
image: ${IMAGE_NAME}:${IMAGE_TAG}
|
||||||
ports:
|
ports:
|
||||||
- "3100:3100"
|
- "3100:3100"
|
||||||
|
volumes:
|
||||||
|
- /data/loki/local-config.yaml:/etc/loki/local-config.yaml
|
||||||
command: -config.file=/etc/loki/local-config.yaml
|
command: -config.file=/etc/loki/local-config.yaml
|
||||||
Reference in New Issue
Block a user