29 lines
615 B
JavaScript
29 lines
615 B
JavaScript
/**
|
|
* Copyright (c) 2026 Niolla
|
|
* All rights reserved.
|
|
*
|
|
* This source code is proprietary and confidential.
|
|
* Unauthorized copying, modification, distribution, or use
|
|
* of this file, via any medium, is strictly prohibited.
|
|
*/
|
|
|
|
// app/config/db.config.js
|
|
|
|
require("dotenv").config();
|
|
|
|
module.exports = {
|
|
HOST: process.env.DB_HOST || "localhost",
|
|
USER: process.env.DB_USER || "root",
|
|
PASSWORD: process.env.DB_PASSWORD || "",
|
|
DB: process.env.DB_NAME || "oceanic-db",
|
|
PORT: process.env.DB_PORT || 3306,
|
|
DIALECT: "mysql",
|
|
|
|
pool: {
|
|
max: 5,
|
|
min: 0,
|
|
acquire: 30000,
|
|
idle: 10000
|
|
}
|
|
};
|