From b6faad36cb19e5d1f9dbf67f99e47cee9b211620 Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Tue, 3 Jan 2023 14:58:41 +0100 Subject: [PATCH 1/2] 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 From 0c1b69ded02d1ce3e463287ce4f18eb35fbe6650 Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Tue, 3 Jan 2023 16:45:09 +0100 Subject: [PATCH 2/2] Update docker-compose.override.yml.example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Christian Mäder --- docker-compose.override.yml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.override.yml.example b/docker-compose.override.yml.example index e2cf62a..1b936f6 100644 --- a/docker-compose.override.yml.example +++ b/docker-compose.override.yml.example @@ -7,7 +7,7 @@ services: # 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 + # 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