mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-18 16:06:38 +02:00
Mention custom configuration files
parent
ca75b2cddb
commit
310e3738d5
@ -42,3 +42,13 @@ These settings are also relevant:
|
|||||||
* `SUPERUSER_*`: Only define those variables during the initial setup, and drop them once the DB is set up. Don't use the default passwords!
|
* `SUPERUSER_*`: Only define those variables during the initial setup, and drop them once the DB is set up. Don't use the default passwords!
|
||||||
* `SKIP_SUPERUSER`: Set to any value after you've created the superuser.
|
* `SKIP_SUPERUSER`: Set to any value after you've created the superuser.
|
||||||
* `REDIS_*`: Use your own persistent redis. Don't use the default passwords!
|
* `REDIS_*`: Use your own persistent redis. Don't use the default passwords!
|
||||||
|
|
||||||
|
## Custom Configuration Files
|
||||||
|
|
||||||
|
You can create you own configuration files if you need to configure something that can't be configured via the environment variables.
|
||||||
|
See the `configuration/extra.py` file as an example.
|
||||||
|
This works for regular configuration as well as for ldap configuration files, with the little (obvious?) difference that ldap configuration files are placed in `configuration/ldap/`.
|
||||||
|
|
||||||
|
The files are read in the order in which they are received from the system, which usually is alphabetical order.
|
||||||
|
Later files take precedence over previous files.
|
||||||
|
All custom files take precedence over the default configuration files `configuration.py` and `ldap_config.py`.
|
Loading…
x
Reference in New Issue
Block a user