File size: 897 Bytes
74f2bea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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