fix: Add loki readiness probe to CI

This commit is contained in:
Louis PERDEREAU 2023-07-03 22:47:44 +02:00 committed by lperdereau
parent 9520670d97
commit 5acf6a8bdc
3 changed files with 8 additions and 3 deletions

View file

@ -112,7 +112,13 @@ jobs:
image: grafana/loki:2.8.0
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
options: >-
--name=loki1
--health-cmd "curl -f http://localhost:3100/ready"
--health-interval 30s
--health-timeout 10s
--health-retries 5
--health-start-period 30s
steps:

View file

@ -82,4 +82,3 @@ services:
image: grafana/loki:2.8.0
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml