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