doc: configuration parameters priority details

This commit is contained in:
Éloi Rivard 2024-12-05 10:36:26 +01:00
parent d72c3daf12
commit e76ba5f6b6
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
2 changed files with 1748 additions and 1713 deletions

File diff suppressed because it is too large Load diff

View file

@ -58,6 +58,14 @@ Any environment variable can also be written in a ``.env``, and will be read if
For instance, you can set ``SECRETS_DIR=/run/secrets`` and put your secret key in the file ``/run/secrets/SECRET_KEY``.
Configuration methods priority
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If a same configuration option is defined by different ways, here is how Canaille will choose which one to use:
- environment vars have priority over the environment file and the configuration file;
- environment file will have priority over the configuration file.
Parameters
==========