mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
deployment configuration
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
require("dotenv/config");
|
||||
const Sequelize = require("sequelize");
|
||||
|
||||
const sequelize = new Sequelize("econo_whatsbot", "root", "nodecomplete", {
|
||||
const sequelize = new Sequelize({
|
||||
define: {
|
||||
charset: "utf8mb4",
|
||||
collate: "utf8mb4_bin",
|
||||
},
|
||||
dialect: "mysql",
|
||||
timezone: "-03:00",
|
||||
host: "localhost",
|
||||
host: process.env.DB_HOST,
|
||||
database: process.env.DB_NAME,
|
||||
username: process.env.DB_USER,
|
||||
password: process.env.DB_PASS,
|
||||
logging: false,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user