var settings = {
  redis: {
    host: "59.110.125.77",
    port: 30479,
    password: "havzMSYc3aBZXOjpG3",
    db: 9,
  },
  database: {
    dbname: "paas",
    user: "write",
    password: "write",
    config: {
      host: '43.247.184.35',
      port: 8899,
      dialect: 'mysql',
      operatorsAliases: false,
      pool: {
        max: 5,
        min: 0,
        acquire: 90000000,
        idle: 1000000
      },
      debug: false,
      dialectOptions: {
        requestTimeout: 999999,
        // instanceName:'DEV'
      }  //设置MSSQL超时时间
    }
  },
  // redis: {
  //   host: "192.168.4.222",
  //   port: 6379,
  //   password: "123456",
  //   db: 9,
  // },
  //  database:{
  //   dbname : "paas",
  //   user: "root",
  //   password: "123456",
  //   config: {
  //     host: '192.168.4.119',
  //     port: 3306,
  //     dialect: 'mysql',
  //       operatorsAliases: false,
  //       pool: {
  //         max: 5,
  //         min: 0,
  //         acquire: 90000000,
  //         idle: 1000000
  //       },
  //       debug:false,
  //       dialectOptions:{
  //           requestTimeout: 999999,
  //           // instanceName:'DEV'
  //       }  //设置MSSQL超时时间
  //  }
  // },
  reqEsDevUrl: "http://192.168.4.249:9200/",
  reqHomePageDevUrl: "http://p.apps.com:4001/",
  reqAuthUrl: "http://p.apps.com:4001/auth",
  docUrl: "http://p.apps.com:4001/web/common/metaCtl/getApiDoc"
};
module.exports = settings;
