2021-04-17 10:16:40 +02:00
|
|
|
version: '3.4'
|
|
|
|
services:
|
|
|
|
netbox:
|
|
|
|
ports:
|
2022-10-07 08:08:30 +02:00
|
|
|
- "8000:8080"
|
|
|
|
# If you want the Nginx unit status page visible from the
|
|
|
|
# outside of the container add the following port mapping:
|
|
|
|
# - "8001:8081"
|
2023-03-15 07:45:15 +01:00
|
|
|
# healthcheck:
|
2023-01-03 14:58:41 +01:00
|
|
|
# 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
|
2023-03-15 07:45:15 +01:00
|
|
|
# start_period: 90s
|
|
|
|
# environment:
|
|
|
|
# SKIP_SUPERUSER: "false"
|
|
|
|
# SUPERUSER_API_TOKEN: ""
|
|
|
|
# SUPERUSER_EMAIL: ""
|
|
|
|
# SUPERUSER_NAME: ""
|
|
|
|
# SUPERUSER_PASSWORD: ""
|
|
|
|
|