2019-01-29 05:14:26 -06:00
|
|
|
loki:
|
2021-07-29 03:10:45 -05:00
|
|
|
image: grafana/loki:latest
|
2022-11-21 10:12:27 -06:00
|
|
|
command: -config.file=/etc/loki/loki-config.yaml
|
|
|
|
volumes:
|
|
|
|
- ./docker/blocks/loki/loki-config.yaml:/etc/loki/loki-config.yaml
|
2019-01-29 05:14:26 -06:00
|
|
|
ports:
|
|
|
|
- "3100:3100"
|
2022-05-25 04:01:17 -05:00
|
|
|
|
2022-10-20 02:49:52 -05:00
|
|
|
loki-data:
|
2022-05-25 04:01:17 -05:00
|
|
|
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"
|