mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-07 16:44:02 +01:00
645ec1281c
Although it does not provide any additional security, it shows how to configure Redis with a password and how to use Netbox using a password protected redis server. Something that might be considered in a classic production deployment. (But is mostly irrelevant in e.g. a Kubernetes / OpenShift deployment as the isolation is usually on a network level.)
24 lines
567 B
Bash
24 lines
567 B
Bash
DB_NAME=netbox
|
|
DB_USER=netbox
|
|
DB_PASSWORD=J5brHrAXFLQSif0K
|
|
DB_HOST=postgres
|
|
EMAIL_SERVER=localhost
|
|
EMAIL_PORT=25
|
|
EMAIL_USERNAME=netbox
|
|
EMAIL_PASSWORD=
|
|
EMAIL_TIMEOUT=5
|
|
EMAIL_FROM=netbox@bar.com
|
|
MEDIA_ROOT=/opt/netbox/netbox/media
|
|
NAPALM_USERNAME=
|
|
NAPALM_PASSWORD=
|
|
NAPALM_TIMEOUT=10
|
|
MAX_PAGE_SIZE=0
|
|
REDIS_HOST=redis
|
|
REDIS_PASSWORD=H733Kdjndks81
|
|
SECRET_KEY=r8OwDznj!!dci#P9ghmRfdu1Ysxm0AiPeDCQhKE+N_rClfWNj
|
|
SUPERUSER_NAME=admin
|
|
SUPERUSER_EMAIL=admin@example.com
|
|
SUPERUSER_PASSWORD=admin
|
|
SUPERUSER_API_TOKEN=0123456789abcdef0123456789abcdef01234567
|
|
WEBHOOKS_ENABLED=true
|