2021-04-17 03:16:40 -05:00
|
|
|
version: '3.4'
|
|
|
|
services:
|
|
|
|
netbox:
|
|
|
|
ports:
|
|
|
|
- 8000:8080
|
2023-01-03 07:58:41 -06:00
|
|
|
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
|
2023-01-03 09:45:09 -06:00
|
|
|
# subsequent starts. For the first start after major version upgrades of NetBox
|
2023-01-03 07:58:41 -06:00
|
|
|
# the start_period might also need to be set higher.
|
|
|
|
# Default value in our docker-compose.yml is 60s
|
|
|
|
start_period: 90s
|