mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:41:08 +02:00
fix(monitoring): promtail depends_on service_started instead of healthy
Loki healthcheck interval is 5min — using service_healthy blocks Promtail from starting for up to 5 minutes. service_started is sufficient since Loki reports /ready immediately after startup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0968c84eb4
commit
222094d13f
1 changed files with 1 additions and 1 deletions
|
|
@ -1626,7 +1626,7 @@ services:
|
|||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
depends_on:
|
||||
loki:
|
||||
condition: service_healthy
|
||||
condition: service_started
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:9080/ready"]
|
||||
interval: 300s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue