Environment Variables Configuration Parameters
Configuration parameters can be set from environment variables as follows:
- General configuration parameters, such as database and system port.
- Connector parameters (for v3.x and above).
- Notification parameters (for v3.x and above).
General Configuration Parameters
Environment Parameter | Default Value |
---|---|
SETTINGS__DATABASECONFIGURATION__DATABASETYPE | SQLLite |
SETTINGS__DATABASECONFIGURATION__SERVER | localhost |
SETTINGS__DATABASECONFIGURATION__PORT | 5432 |
SETTINGS__DATABASECONFIGURATION__USERNAME | PostrgeSQL |
SETTINGS__DATABASECONFIGURATION__PASSWORD | Q1w2e3r4t5y6 |
SETTINGS__DATABASECONFIGURATION__WINDOWSAUTH | TFALSEext |
SETTINGS__DATABASECONFIGURATION__TRANSPORTENCRYPT | FALSE |
SETTINGS__DATABASECONFIGURATION__DATABASE | SyncNow |
KESTREL__ENDPOINTS__HTTP__URL | http://+:5030 |
KESTREL__ENDPOINTS__HTTPS__URL | http://+:5031 |
Connector Configuration
Connectors configuration can be injected from an environment variable. Environment variables configuration takes precedence over user interface configuration.
These configuration parameters can also be set from environment variable.

To make SyncNow reading the credentials from environment variables – create them before running the app.
One system connector or notification provider can have few secret values, such as APIKey, APISecret, AccessToken, AccessTokenSecret, Password
The name of an environment variable should contain info of system connector’s name (or notification provider’s name) and its secret property name.
_SYNCNOWSECRET_<Name>_SYNCNOWSECRET_<Property>=<secret_value>
.
Example 1
For example, for an access token to a system Azure DevOps, an environment variable will be:

Example 2
For one system connector with multiple secret values, you can set all or only some of them into environment variables. Values that were not provided in environment variables will be taken from the database.

Notification Providers Configuration
A password for a notification provider in the environment variable will be:
_SYNCNOWSECRET_EmailNotifier_SYNCNOWSECRET_Password=MyEmailPass123
System Connector's Name with Special Characters
A name of an environment variable should not contain any characters besides latin letters, numbers and underscore. Use underscore in the environment variable name instead of any non-supported symbols.
configExampleSpecialChars
