From 5fad4930a5c30e4e0deb8da1399441188f01436b Mon Sep 17 00:00:00 2001 From: "Aaron M. Bond" Date: Thu, 23 Dec 2021 13:51:51 -0600 Subject: [PATCH] Environment documentation only identifies netbox.env, when service environment variables for Postgres and Redis containers are in separate files. Also, production configuration recommends changing DB_PASSWORD var without mentioning POSTGRES_PASSWORD var. If these aren't both changed, the container will not be able to auth to the postgres container. --- Configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Configuration.md b/Configuration.md index 5fc4971..e1d175d 100644 --- a/Configuration.md +++ b/Configuration.md @@ -1,5 +1,5 @@ You can configure the app using environment variables. -These are defined in `netbox.env`. +These are defined in `netbox.env`, `postgres.env`, `redis.env`, and `redis-cache.env`. Read [Environment Variables in Compose][compose-env] to understand about the various possibilities to overwrite these variables. (The easiest solution being simply adjusting that file.) @@ -23,7 +23,7 @@ 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` +* `DB_PASSWORD` and `POSTGRES_PASSWORD` * `SECRET_KEY` * `EMAIL_PASSWORD`, see also the next section. * `NAPALM_PASSWORD`