In order to connect to the database and other systems certain configurations are needed. This document lists all available configurations.
There are 3 different options to set configuration variables
The first option that is checked is the Azure Key Vault. In order to use this the AZURE_KEY_VAULT_NAME should be specified.
Since Azure Key Vault does not support underscores you should remove this from the configuration name. For example: POSTGRES_USER becomes POSTGRES-USER.
The second option is using environment variables, which gives the most amount of flexibility.
The last and fallback option is the config.ini. Within the project there is a config.model.ini, which is not used but gives the example how the file should look like. If the application is started with the environment variable DOCKERIZED=1 then the config.docker.ini is loaded, otherwhise the config.priv.ini is loaded.
A few configs are environment variables only:
IRIS_WORKER - Specifies if the process is the workerDOCKERIZED - Is set when running in docker, also loads the other config.iniThe POSTGRES section has the following configurations:
POSTGRES_USER - The user IRIS usesPOSTGRES_PASSWORD - The password for the user IRIS usesPOSTGRES_ADMIN_USER - The user IRIS uses for table migrationsPOSTGRES_ADMIN_PASSWORD - The password for the user IRIS uses for table migrationsPOSTGRES_HOST - The server addressPOSTGRES_PORT - The server portCELERY_BROKER - The broker address used by CeleryIRIS_SECRET_KEY - The secret key used by Flask.IRIS_SECURITY_PASSWORD_SALT - ??