Merge pull request #913 from tobiasge/start_period_explanation

Added start_period to docker-compose example
This commit is contained in:
Tobias Genannt 2023-01-04 09:27:20 +01:00 committed by GitHub
commit ff37e17eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -3,3 +3,11 @@ services:
netbox: netbox:
ports: ports:
- 8000:8080 - 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