Dashboard API Environment
This section lists and describes all environment variables used by the Configuration Dashboard API application.
| Environment Variable | Required | Description |
|---|---|---|
| BASIC_AUTH_USERNAME | yes | Defines the username used for Basic Authentication when accessing the Configuration Dashboard. |
| BASIC_AUTH_PASSWORD | yes | Defines the password used for Basic Authentication when accessing the Configuration Dashboard. |
| DATABASE_URL | yes | Specifies 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_USERNAME | yes | Defines the username used to authenticate with the database. |
| DATABASE_PASSWORD | yes | Defines the password used to authenticate with the database. |
| DATABASE_POOL_MAX_SIZE | yes | Defines 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_SIZE | yes | Defines 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_KEY | yes | Defines 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_KEY | no | Defines 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_ID | Required if api key is set | Defines 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_SIZEshould typically be configured as a multiple ofDATABASE_POOL_MIN_SIZEto allow the connection pool to handle temporary increases in traffic. A common starting point is to setDATABASE_POOL_MAX_SIZEto approximately 2–3 times the value ofDATABASE_POOL_MIN_SIZE, then adjust the values based on the observed workload and database capacity.
For example, ifDATABASE_POOL_MIN_SIZEis set to5, a possible initial configuration isDATABASE_POOL_MAX_SIZEset to10or15.
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.
Updated about 1 month ago