2021-04-17 08:16:40 +00:00
|
|
|
services:
|
|
|
|
|
netbox:
|
|
|
|
|
ports:
|
2022-10-07 06:08:30 +00: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 06:45:15 +00:00
|
|
|
# healthcheck:
|
2023-01-03 13:58:41 +00: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 15:45:09 +00:00
|
|
|
# subsequent starts. For the first start after major version upgrades of NetBox
|
2023-01-03 13:58:41 +00:00
|
|
|
# the start_period might also need to be set higher.
|
|
|
|
|
# Default value in our docker-compose.yml is 60s
|
2023-03-15 06:45:15 +00:00
|
|
|
# start_period: 90s
|
|
|
|
|
# environment:
|
|
|
|
|
# SKIP_SUPERUSER: "false"
|
|
|
|
|
# SUPERUSER_API_TOKEN: ""
|
|
|
|
|
# SUPERUSER_EMAIL: ""
|
|
|
|
|
# SUPERUSER_NAME: ""
|
|
|
|
|
# SUPERUSER_PASSWORD: ""
|
2025-07-03 18:12:52 +00:00
|
|
|
# SSO Configuration
|
|
|
|
|
# SOCIAL_AUTH_OKTA_OPENIDCONNECT_KEY: "your_okta_client_id"
|
|
|
|
|
# SOCIAL_AUTH_OKTA_OPENIDCONNECT_API_URL: "https://your-domain.okta.com"
|
|
|
|
|
# SOCIAL_AUTH_GOOGLE_OAUTH2_KEY: "your_google_client_id"
|
|
|
|
|
# secrets:
|
|
|
|
|
# - okta_openidconnect_secret
|
|
|
|
|
# - google_oauth2_secret
|