[DockerCompose] Add host to db healthchecks to wait for initdb scripts to run

This commit is contained in:
Aaro Koivukangas
2026-08-09 01:48:41 +03:00
committed by Aaro Koivukangas
parent 25c14aac0f
commit 2eeb9b0bd0
4 changed files with 33 additions and 25 deletions
+5 -3
View File
@@ -2,9 +2,11 @@ x-defaults: &defaults
restart: unless-stopped
x-healthcheck-defaults: &healthcheck-defaults
interval: 1s
timeout: 3s
retries: 30
interval: 30s # Normal healthcehck interval
timeout: 5s
retries: 10 # Retries until SIGKILl
start_interval: 3s # How often healthcheck runs while starting
start_period: 15s # How long startup period is
services:
kone-db: