56 lines
1.9 KiB
Plaintext
56 lines
1.9 KiB
Plaintext
# NetBox Development Environment Variables
|
|
# Copy this file to .env and customize as needed
|
|
|
|
# NetBox Version to install (latest, v4.1-3.3.0, v4.0-3.3.0, snapshot)
|
|
NETBOX_VERSION=latest
|
|
|
|
# Database Configuration
|
|
DB_HOST=postgres
|
|
DB_NAME=netbox
|
|
DB_USER=netbox
|
|
DB_PASSWORD=netbox
|
|
|
|
# Redis Configuration
|
|
REDIS_HOST=redis
|
|
REDIS_PASSWORD=
|
|
|
|
# Development Settings
|
|
DEBUG=True
|
|
DEVELOPER=True
|
|
SECRET_KEY=dev-secret-key-not-for-production-use-12345678901234
|
|
|
|
# Superuser Configuration (auto-created on first run)
|
|
SUPERUSER_NAME=admin
|
|
SUPERUSER_EMAIL=admin@example.com
|
|
SUPERUSER_PASSWORD=admin
|
|
|
|
# Auto-creation control
|
|
SKIP_SUPERUSER=false
|
|
|
|
# Plugins are configured only in:
|
|
# .devcontainer/plugin-config.py.example → .devcontainer/plugin-config.py
|
|
# Advanced NetBox configuration (optional):
|
|
# .devcontainer/extra-configuration.py.example → .devcontainer/extra-configuration.py
|
|
|
|
# Proxy Configuration (optional, for corporate networks with MITM proxies)
|
|
# Uncomment and set these if you're behind a proxy
|
|
# HTTP_PROXY=http://proxy.example.com:8080
|
|
# HTTPS_PROXY=http://proxy.example.com:8080
|
|
# NO_PROXY=localhost,127.0.0.1,postgres,redis
|
|
#
|
|
# CA bundle configuration:
|
|
# Normally you SHOULD NOT set REQUESTS_CA_BUNDLE, SSL_CERT_FILE, or CURL_CA_BUNDLE here.
|
|
# Instead, place a ca-bundle.crt file in the workspace root and setup.sh will install it
|
|
# into the system trust store and set these variables automatically to:
|
|
# /etc/ssl/certs/ca-certificates.crt
|
|
# Only set the following manually for custom CA setups that cannot use the automatic
|
|
# configuration provided by setup.sh.
|
|
# REQUESTS_CA_BUNDLE=/custom/path/to/ca-bundle.crt
|
|
# SSL_CERT_FILE=/custom/path/to/ca-bundle.crt
|
|
# CURL_CA_BUNDLE=/custom/path/to/ca-bundle.crt
|
|
|
|
# Git SSL verification override (default: false)
|
|
# Only set to true if behind a MITM proxy and you cannot provide a CA bundle.
|
|
# Prefer placing a ca-bundle.crt in the workspace root instead.
|
|
# ALLOW_GIT_SSL_DISABLE=false
|