# NetBox Environment Configuration # Copy this to netbox.env and customize as needed # Database DB_NAME=netbox DB_USER=netbox DB_PASSWORD=netbox_password DB_HOST=postgres # Redis REDIS_HOST=redis REDIS_PORT=6379 REDIS_PASSWORD= REDIS_CACHE_HOST=redis-cache REDIS_CACHE_PORT=6379 REDIS_CACHE_PASSWORD= REDIS_CACHE_DATABASE=1 # NetBox SECRET_KEY=r8OwDz5XbMhDKNw8HqEF7_Hy7qKjG5XqCCgJP6rNnR_2wPAQ ALLOWED_HOSTS=* CORS_ORIGIN_ALLOW_ALL=True # Superuser (created on first run) SUPERUSER_NAME=admin SUPERUSER_EMAIL=admin@example.com SUPERUSER_PASSWORD=admin SUPERUSER_API_TOKEN=0123456789abcdef0123456789abcdef01234567 # Email (optional) # EMAIL_SERVER=smtp.example.com # EMAIL_PORT=587 # EMAIL_USERNAME=netbox@example.com # EMAIL_PASSWORD= # EMAIL_TIMEOUT=10 # EMAIL_FROM=netbox@example.com # Enable plugins (optional) # PLUGINS=['netbox_topology_views', 'netbox_bgp'] # Logging # LOG_LEVEL=INFO