grafana/devenv/docker/blocks/loki/docker-compose.yaml
Sven Grossmann 423a451858
Loki: Fix filtering with structured metadata (#73955)
* check languageProvider to work with non-indexed metadata

* change loki devenv to work with non-indexed metadata

* trigger ci

* add forced labels after parsers

* add comment

* Update public/app/plugins/datasource/loki/modifyQuery.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-08-31 15:24:03 +02:00

22 lines
637 B
YAML

loki:
image: grafana/loki:main
command: -config.file=/etc/loki/loki-config.yaml
volumes:
- ./docker/blocks/loki/loki-config.yaml:/etc/loki/loki-config.yaml
ports:
- "3100:3100"
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:3100/ready"]
interval: 30s
timeout: 10s
retries: 5
loki-data:
build: docker/blocks/loki/data
command: node /home/node/data.js http://loki:3100
depends_on:
- loki
# when loki starts, there might be some time while it is not
# accepting requests, so we allow data.js to restart on failure.
restart: "on-failure"