Dashboard API Environment

This section lists and describes all environment variables used by the Configuration Dashboard API application.

Environment VariableRequiredDescription
BASIC_AUTH_USERNAMEyesDefines the username used for Basic Authentication when accessing the Configuration Dashboard.
BASIC_AUTH_PASSWORDyesDefines the password used for Basic Authentication when accessing the Configuration Dashboard.
DATABASE_URLyesSpecifies the connection URL of the MySQL database used by the system.
The URL must have the MySQL JDBC format, for example
jdbc:mysql://<host>:<port>/<database>?<optional-params>
DATABASE_USERNAMEyesDefines the username used to authenticate with the database.
DATABASE_PASSWORDyesDefines the password used to authenticate with the database.
DATABASE_POOL_MAX_SIZEyesDefines the maximum number of database connections that can be maintained in the connection pool (for example, 20). The value must be greater than or equal to 1 and must be greater than or equal to DATABASE_POOL_MIN_SIZE.
DATABASE_POOL_MIN_SIZEyesDefines the minimum number of database connections that should be maintained in the connection pool (for example, 5). The value must be greater than or equal to 0 and must not exceed DATABASE_POOL_MAX_SIZE.
ENCRYPTION_KEYyesDefines the master encryption key used to encrypt the key stored in the secret_key database table.
This environment variable is the only encryption key that must be manually configured by you.
The key must be generated from the Admin Console after you log in.
The same generated key must be configured as the ENCRYPTION_KEY environment variable for both the Gateway and the Configuration Dashboard API.
Complete details about encryption can be found at this link.
POSTMAN_API_KEYnoDefines the API key used to access your Postman account to automatically generate a Postman collection from your active Routes.
Please note that Postman may revoke your API key due to inactivity. If this happens, the request will fail, and you will need to generate a new API key and update the environment variable value.
POSTMAN_WORKSPACE_IDRequired if api key is setDefines your Postman Workspace where the Configuration Dashboard creates the generated collection. The collection contains requests generated from the Routes with an active configuration. Only the active configuration of each Route is used to generate the corresponding Postman request.
📘

DATABASE_POOL_MAX_SIZE should typically be configured as a multiple of DATABASE_POOL_MIN_SIZE to allow the connection pool to handle temporary increases in traffic. A common starting point is to set DATABASE_POOL_MAX_SIZE to approximately 2–3 times the value of DATABASE_POOL_MIN_SIZE, then adjust the values based on the observed workload and database capacity.
For example, if DATABASE_POOL_MIN_SIZE is set to 5, a possible initial configuration is DATABASE_POOL_MAX_SIZE set to 10 or 15.

📘

Postman collection generation is an optional feature of the Configuration Dashboard.

Postman credentials are used only by the Configuration Dashboard to generate collections in your Postman workspace. Since the application is self-hosted, these credentials remain within your environment and are not stored, transmitted, or shared outside of your deployment.


Did this page help you?