Fix #1356 -- Allow to override config file settings with env vars

This commit is contained in:
Raphael Michel
2020-11-23 12:24:08 +01:00
parent 76c6bbc321
commit 14a66ff80c
3 changed files with 58 additions and 4 deletions
+8
View File
@@ -23,6 +23,14 @@ The config file may contain the following sections (all settings are optional an
default values). We suggest that you start from the examples given in one of the
installation tutorials.
.. note::
The configuration file is the recommended way to configure pretix. However, you can
also set them through environment variables. In this case, the syntax is
``PRETIX_SECTION_CONFIG``. For example, to configure the setting ``password_reset``
from the ``[pretix]`` section, set ``PRETIX_PRETIX_PASSWORD_RESET=off`` in your
environment.
pretix settings
---------------