Try fix loki
This commit is contained in:
parent
f97126930e
commit
cdba920720
2 changed files with 4 additions and 1 deletions
|
@ -37,6 +37,8 @@ services:
|
|||
command: -config.file=/etc/loki/config.yml
|
||||
volumes:
|
||||
- {{ server.work_dir }}/loki/config:/etc/loki
|
||||
ports:
|
||||
- 3100:3100
|
||||
networks:
|
||||
- metrics
|
||||
|
||||
|
|
|
@ -48,7 +48,8 @@ services:
|
|||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: "http://loki:3100/loki/api/v1/push"
|
||||
loki-url: "http://localhost:3100/loki/api/v1/push"
|
||||
mode: non-blocking
|
||||
|
||||
networks:
|
||||
metrics:
|
||||
|
|
Loading…
Add table
Reference in a new issue