This repository has been archived on 2022-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
DevOpsOpenHack/apis/userprofile/config/sqlConfig.js
2022-11-03 16:41:13 -04:00

16 lines
575 B
JavaScript

const sqlConfig = {
userName: process.env.SQL_USER || '',
password: process.env.SQL_PASSWORD || '',
server: process.env.SQL_SERVER || '', // You can use 'localhost\\instance' to connect to named instance
options: {
encrypt: true, // Use this if you're on Windows Azure
database: process.env.SQL_DBNAME || 'mydrivingdb',
MultipleActiveResultSets: false,
TrustServerCertificate: false,
rowCollectionOnDone: true
// Persist Security Info=False;Connection Timeout=30
}
};
exports = module.exports = sqlConfig;