Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Add order of precedence for config parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther committed Jan 23, 2022
1 parent 66e8bf2 commit 722afd6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ To connect to a database it uses a `libpq connection string <https://www.postgre

The user with whom PostgREST connects to the database is also known as the authenticator role. For more information about the anonymous vs authenticator roles see :ref:`roles`.

Config parameters are read in the following order:

1. From the config file.
2. From environment variables, overriding values from the config file.
3. From the database, overriding values from both the config file and environment variables.

.. _file_config:

Config File
Expand Down

0 comments on commit 722afd6

Please sign in to comment.