mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 01:26:01 +00:00
feat: allow specifying cassandra local datacenter via environment variable
This commit is contained in:
@@ -77,6 +77,7 @@ function getPortalCollections() {
|
|||||||
allowedDatabasesRegex: process.env[`ALLOWED_DATABASES_REGEX_${id}`],
|
allowedDatabasesRegex: process.env[`ALLOWED_DATABASES_REGEX_${id}`],
|
||||||
parent: process.env[`PARENT_${id}`] || undefined,
|
parent: process.env[`PARENT_${id}`] || undefined,
|
||||||
useSeparateSchemas: !!process.env[`USE_SEPARATE_SCHEMAS_${id}`],
|
useSeparateSchemas: !!process.env[`USE_SEPARATE_SCHEMAS_${id}`],
|
||||||
|
localDataCenter: process.env[`LOCAL_DATA_CENTER_${id}`],
|
||||||
|
|
||||||
// SSH tunnel
|
// SSH tunnel
|
||||||
useSshTunnel: process.env[`USE_SSH_${id}`],
|
useSshTunnel: process.env[`USE_SSH_${id}`],
|
||||||
|
|||||||
Reference in New Issue
Block a user