Merge pull request #1063 from nyaaao/cassandra-local-data-center-env

feat: configure cassandra local datacenter via environment variable
This commit is contained in:
Jan Prochazka
2025-03-04 12:55:20 +01:00
committed by GitHub

View File

@@ -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}`],