Commit 7e60629c authored by 李尚科's avatar 李尚科

add local config prometheus model

parent f62e31c3
Pipeline #13378 passed with stage
in 22 seconds
...@@ -17,7 +17,8 @@ module.exports = appInfo => { ...@@ -17,7 +17,8 @@ module.exports = appInfo => {
domainWhiteList: [], domainWhiteList: [],
}; };
config.middleware = [ 'errorHandler', 'deviceLogin', 'deviceInit', 'responseSet' ]; // config.middleware = [ 'errorHandler', 'deviceLogin', 'deviceInit', 'responseSet' ];
config.middleware = [ ];
exports.multipart = { exports.multipart = {
// 不用steam用file // 不用steam用file
...@@ -81,6 +82,19 @@ module.exports = appInfo => { ...@@ -81,6 +82,19 @@ module.exports = appInfo => {
password: 'jianbing2014GG', password: 'jianbing2014GG',
port: 3306, port: 3306,
}, },
{
// 东八时区
timezone: '+08:00',
delegate: 'prometheusModel',
baseDir: 'model/prometheus',
// other sequelize configurations
dialect: 'mysql',
host: 'rm-bp1mnwmta5778y0d3jo.mysql.rds.aliyuncs.com',
database: 'prometheus_dev',
username: 'prometheus',
password: 'q9t8Ay4qIUW4sw3s25K28',
port: 3306,
},
], ],
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment