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
|
command: -config.file=/etc/loki/config.yml
|
||||||
volumes:
|
volumes:
|
||||||
- {{ server.work_dir }}/loki/config:/etc/loki
|
- {{ server.work_dir }}/loki/config:/etc/loki
|
||||||
|
ports:
|
||||||
|
- 3100:3100
|
||||||
networks:
|
networks:
|
||||||
- metrics
|
- metrics
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,8 @@ services:
|
||||||
logging:
|
logging:
|
||||||
driver: loki
|
driver: loki
|
||||||
options:
|
options:
|
||||||
loki-url: "http://loki:3100/loki/api/v1/push"
|
loki-url: "http://localhost:3100/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
metrics:
|
metrics:
|
||||||
|
|
Loading…
Add table
Reference in a new issue