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

16 lines
575 B
JavaScript
Raw Permalink Normal View History

2022-11-03 20:41:13 +00:00
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;