Added start_period to docker-compose example

This commit is contained in:
Tobias Genannt 2023-01-03 14:58:41 +01:00
parent a4d986011d
commit b6faad36cb
1 changed files with 8 additions and 0 deletions

View File

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