File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
docs/content/Configuration/Databases
packages/cubejs-questdb-driver/src Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ CUBEJS_DB_PASS=quest
3131| ` CUBEJS_DB_NAME ` | The name of the database to connect to | A valid database name | ✅ | ✅ |
3232| ` CUBEJS_DB_USER ` | The username used to connect to the database | A valid database username | ✅ | ✅ |
3333| ` CUBEJS_DB_PASS ` | The password used to connect to the database | A valid database password | ✅ | ✅ |
34+ | ` CUBEJS_DB_SSL ` | If ` true ` , enables SSL encryption for database connections from Cube | ` true ` , ` false ` | ❌ | ✅ |
3435| ` CUBEJS_CONCURRENCY ` | The number of concurrent connections each queue has to the database. Default is ` 2 ` | A valid number | ❌ | ❌ |
3536| ` CUBEJS_DB_MAX_POOL ` | The maximum number of concurrent database connections to pool. Default is ` 8 ` | A valid number | ❌ | ✅ |
3637
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ export class QuestDriver<Config extends QuestDriverConfiguration = QuestDriverCo
9494 port : getEnv ( 'dbPort' , { dataSource } ) ,
9595 user : getEnv ( 'dbUser' , { dataSource } ) ,
9696 password : getEnv ( 'dbPass' , { dataSource } ) ,
97+ ssl : this . getSslOptions ( dataSource ) ,
9798 ...config
9899 } ) ;
99100 this . pool . on ( 'error' , ( err ) => {
You can’t perform that action at this time.
0 commit comments