Commit 608d9807 by 蒋勇

d

parent b93789cd
...@@ -54,10 +54,10 @@ var settings = { ...@@ -54,10 +54,10 @@ var settings = {
return localsettings.redis; return localsettings.redis;
}else { }else {
return { return {
host:"xxxxx", host:ENVINPUT.REDIS_HOST,
port:xxxxx, port:ENVINPUT.REDIS_PORT,
password:"xxxxx", password:ENVINPUT.REDIS_PWD,
db:xx, db:ENVINPUT.REDIS_DB,
}; };
} }
}, },
...@@ -67,11 +67,11 @@ var settings = { ...@@ -67,11 +67,11 @@ var settings = {
return localsettings.database; return localsettings.database;
}else{ }else{
return { return {
dbname : "xxxxx", dbname : ENVINPUT.DB_NAME,
user : "xxxx", user : ENVINPUT.DB_USER,
password : "xxxxx", password : ENVINPUT.DB_PWD,
config : { config : {
host: 'xxxxxx', host: ENVINPUT.DB_HOST,
dialect: 'mysql', dialect: 'mysql',
operatorsAliases: false, operatorsAliases: false,
pool: { pool: {
...@@ -92,3 +92,5 @@ var settings = { ...@@ -92,3 +92,5 @@ var settings = {
}; };
settings.ENVINPUT=ENVINPUT; settings.ENVINPUT=ENVINPUT;
module.exports = settings; module.exports = settings;
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