Updated Configuration (markdown)

Christian Mäder 2020-03-17 14:54:09 +01:00
parent 9e1d6e39d1
commit 82c1eb5e0e

@ -15,7 +15,25 @@ For example defining `ALLOWED_HOSTS=localhost ::1 127.0.0.1` would allows access
## Configure for Production
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`.)
* `DB_*`: Use your own persistent database. Don't use the default passwords!