var settings = {
  redis: {
    host: "43.247.184.32",
    port: 8967,
    password: "Gongsibao2018",
    db: 9,
  },
  database: {
    dbname: "paas",
    user: "write",
    password: "write",
    config: {
      host: '192.168.18.237',
      port: 3306,
      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;
