mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[DockerCompose] Add host to db healthchecks to wait for initdb scripts to run
This commit is contained in:
committed by
Aaro Koivukangas
parent
25c14aac0f
commit
2eeb9b0bd0
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user