api healthcheck: start_period 30 с (вход в OpenBao и TLS при холодном старте Docker)
This commit is contained in:
+4
-1
@@ -410,7 +410,10 @@ services:
|
||||
interval: 2s
|
||||
timeout: 2s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
# Lab 7: the start includes the OpenBao login and the first TLS connections; after a cold
|
||||
# Docker start this took > 11 s once and `up --wait` gave up. Failures inside start_period do
|
||||
# not count; after the first success a failed replica is still detected in 3 x 2 s.
|
||||
start_period: 30s
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user