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:
Iain Sproat 2023-07-24 11:17:53 +01:00 коммит произвёл GitHub
Родитель 0da6996a54
Коммит 9cb71f0ea3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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: