When configuring your Datalore On-Premises instance, you can customize the list of database connectors available to users. This allows you to enforce your organization’s environment-specific requirements or security policies to align with your environment requirements or security policies.
By modifying the list, you control what connectors are visible in the UI and what database connections users are allowed to configure using connection strings.
Allow databases
To allow only specific database types to be available when creating a connection, list the corresponding database IDs in the configuration file.
In docker-compose.yaml, add the IDs from the supported database list as a comma-separated list to environment.DATABASES_FILTER_INCLUDE as in the following example:
In datalore.values.yaml, add the IDs from the supported database list as a comma-separated list to dataloreEnv.DATABASES_FILTER_INCLUDE as in the following example:
If the list is empty, all default database types will be available.
Hide databases
To hide specific database types when creating a connection, list the corresponding database IDs in the configuration file.
In docker-compose.yaml, add the IDs from the supported database list as a comma-separated list to environment.DATABASES_FILTER_EXCLUDE as in the following example:
In datalore.values.yaml, add the IDs from the supported database list as a comma-separated list to dataloreEnv.DATABASES_FILTER_EXCLUDE as in the following example: