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.

Aaron M. Bond 2021-12-23 13:51:51 -06:00
parent 985c515d4d
commit 5fad4930a5

@ -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`