From b6faad36cb19e5d1f9dbf67f99e47cee9b211620 Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Tue, 3 Jan 2023 14:58:41 +0100 Subject: [PATCH] Added start_period to docker-compose example --- docker-compose.override.yml.example | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.override.yml.example b/docker-compose.override.yml.example index f08d6c0..e2cf62a 100644 --- a/docker-compose.override.yml.example +++ b/docker-compose.override.yml.example @@ -3,3 +3,11 @@ services: netbox: ports: - 8000:8080 + healthcheck: + # Time for which the health check can fail after the container is started. + # This depends mostly on the performance of your database. On the first start, + # when all tables need to be created the start_period should be higher than on + # subsequent starts. For the first start after major version upgrades of Netbox + # the start_period might also need to be set higher. + # Default value in our docker-compose.yml is 60s + start_period: 90s