mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 13:52:38 +00:00
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
services:
|
|
netbox:
|
|
ports:
|
|
- "8000:8080"
|
|
# If you want the Nginx unit status page visible from the
|
|
# outside of the container add the following port mapping:
|
|
# - "8001:8081"
|
|
# 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
|
|
# environment:
|
|
# SKIP_SUPERUSER: "false"
|
|
# SUPERUSER_API_TOKEN: ""
|
|
# SUPERUSER_EMAIL: ""
|
|
# SUPERUSER_NAME: ""
|
|
# SUPERUSER_PASSWORD: ""
|
|
# 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
|
|
|
|
# Uncomment to use Docker secrets for SSO credentials
|
|
# secrets:
|
|
# okta_openidconnect_secret:
|
|
# file: ./secrets/okta_secret.txt
|
|
# google_oauth2_secret:
|
|
# file: ./secrets/google_secret.txt |