mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-08-08 07:44:46 +02:00
Updated Configuration (markdown)
@ -15,7 +15,25 @@ For example defining `ALLOWED_HOSTS=localhost ::1 127.0.0.1` would allows access
|
|||||||
## Configure for Production
|
## Configure for Production
|
||||||
|
|
||||||
The default settings are optimized for (local) development environments.
|
The default settings are optimized for (local) development environments.
|
||||||
You should therefore adjust the configuration for production setups, at least the following variables:
|
You should therefore adjust the following settings in your configuration for production setup
|
||||||
|
|
||||||
|
### Secrets
|
||||||
|
|
||||||
|
Please change the following settings to keep your setup safe.
|
||||||
|
|
||||||
|
* `SUPERUSER_PASSWORD`, see also the next section.
|
||||||
|
* `SUPERUSER_API_TOKEN`, see also the next section.
|
||||||
|
* `DB_PASSWORD`
|
||||||
|
* `SECRET_KEY`
|
||||||
|
* `EMAIL_PASSWORD`, see also the next section.
|
||||||
|
* `NAPALM_PASSWORD`
|
||||||
|
* `REDIS_PASSWORD`
|
||||||
|
* `REDIS_CACHE_PASSWORD`
|
||||||
|
* `AUTH_LDAP_BIND_PASSWORD`
|
||||||
|
|
||||||
|
### Operations
|
||||||
|
|
||||||
|
These settings are also relevant:
|
||||||
|
|
||||||
* `ALLOWED_HOSTS`: Add all URLs that lead to your Netbox instance, space separated. E.g. `ALLOWED_HOSTS=netbox.mycorp.com server042.mycorp.com 2a02:123::42 10.0.0.42 localhost ::1 127.0.0.1` (It's good advice to always allow localhost connections for easy debugging, i.e. `localhost ::1 127.0.0.1`.)
|
* `ALLOWED_HOSTS`: Add all URLs that lead to your Netbox instance, space separated. E.g. `ALLOWED_HOSTS=netbox.mycorp.com server042.mycorp.com 2a02:123::42 10.0.0.42 localhost ::1 127.0.0.1` (It's good advice to always allow localhost connections for easy debugging, i.e. `localhost ::1 127.0.0.1`.)
|
||||||
* `DB_*`: Use your own persistent database. Don't use the default passwords!
|
* `DB_*`: Use your own persistent database. Don't use the default passwords!
|
||||||
|
Reference in New Issue
Block a user