Mention custom configuration files

Christian Mäder 2021-03-12 18:27:02 +01:00
parent ca75b2cddb
commit 310e3738d5

@ -41,4 +41,14 @@ These settings are also relevant:
* `MAX_PAGE_SIZE`: Use the recommended default of 1000. * `MAX_PAGE_SIZE`: Use the recommended default of 1000.
* `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`.