fix(docker compose): increase healthcheck start period (#1721)
- the healthcheck was commencing before the server had started - this resulted in the server being incorrectly labelled unhealthy prior to it having had sufficient time to start - the server was being restarted as a result of this incorrect diagnosis by the healthcheck, resulting in an infinite start->unhealthy->restart cycle
This commit is contained in:
Родитель
0da6996a54
Коммит
9cb71f0ea3
|
@ -26,7 +26,7 @@ services:
|
|||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
start_period: 90s
|
||||
environment:
|
||||
# TODO: Change this to the URL of the speckle server, as accessed from the network
|
||||
CANONICAL_URL: 'http://localhost'
|
||||
|
|
|
@ -56,7 +56,7 @@ services:
|
|||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
start_period: 90s
|
||||
ports:
|
||||
- '127.0.0.1:3000:3000'
|
||||
environment:
|
||||
|
|
Загрузка…
Ссылка в новой задаче