mirror of
https://github.com/DeNNiiInc/Connect-5.git
synced 2026-04-17 22:46:00 +00:00
Security: Move database credentials to separate config file
This commit is contained in:
13
db.config.example.js
Normal file
13
db.config.example.js
Normal file
@@ -0,0 +1,13 @@
|
||||
// Database Configuration File
|
||||
// IMPORTANT: This file contains sensitive credentials and should NEVER be committed to git
|
||||
// Copy this file to db.config.js and update with your actual database credentials
|
||||
|
||||
module.exports = {
|
||||
host: 'your-database-host.com',
|
||||
user: 'your-database-username',
|
||||
password: 'your-secure-password',
|
||||
database: 'your-database-name',
|
||||
waitForConnections: true,
|
||||
connectionLimit: 10,
|
||||
queueLimit: 0
|
||||
};
|
||||
Reference in New Issue
Block a user