mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
devenv: add healthcheck to loki block (#69519)
add healthcheck to loki this prevents loki-data from failing and restarting while the ingester is getting ready
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
- ./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
|
||||
|
||||
Reference in New Issue
Block a user