mirror of
https://github.com/dbgate/dbgate
synced 2024-11-21 23:39:46 +00:00
Adding env for parsing for trustServerCertificate connection value
This commit is contained in:
parent
715c6f7f29
commit
83f3391b24
@ -88,6 +88,7 @@ function getPortalCollections() {
|
||||
sslCertFilePassword: process.env[`SSL_CERT_FILE_PASSWORD_${id}`],
|
||||
sslKeyFile: process.env[`SSL_KEY_FILE_${id}`],
|
||||
sslRejectUnauthorized: process.env[`SSL_REJECT_UNAUTHORIZED_${id}`],
|
||||
trustServerCertificate: process.env[`SSL_TRUST_CERTIFICATE_${id}`],
|
||||
}));
|
||||
|
||||
logger.info({ connections: connections.map(pickSafeConnectionInfo) }, 'Using connections from ENV variables');
|
||||
|
Loading…
Reference in New Issue
Block a user