From 82c1eb5e0e2b4051352fc78072f8415bb14df699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Tue, 17 Mar 2020 14:54:09 +0100 Subject: [PATCH] Updated Configuration (markdown) --- Configuration.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Configuration.md b/Configuration.md index 50babcd..9e84963 100644 --- a/Configuration.md +++ b/Configuration.md @@ -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!