config.new.inc.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. global['DEBUG'] = false;
  2. global['TYPE_SELF_CALL'] = 'new_ws-chat_call';
  3. global['TYPE_MODULE_CALL'] = 'new_ws-chat_call';
  4. global['CALL_LOG_KEY'] = 'logstash:redis';
  5. let dbInfo = {};
  6. dbInfo['dw_dice'] = {
  7. host : '172.31.47.187',
  8. user : 'web',
  9. password : '18ca8ffec7a7597',
  10. database : 'dw_dice',
  11. port : 6301,
  12. connectionLimit : 3000
  13. };
  14. dbInfo['dw_eos'] = {
  15. host : '172.31.47.187',
  16. user : 'web',
  17. password : '18ca8ffec7a7597',
  18. database : 'dw_eos',
  19. port : 6301,
  20. connectionLimit : 3000
  21. };
  22. dbInfo['dw_chat'] = {
  23. host : '172.31.47.187',
  24. user : 'web',
  25. password : '18ca8ffec7a7597',
  26. database : 'dw_chat',
  27. port : 6301,
  28. connectionLimit : 3000
  29. };
  30. dbInfo['dw_box'] = {
  31. host : '172.31.47.187',
  32. user : 'web',
  33. password : '18ca8ffec7a7597',
  34. database : 'dw_box',
  35. port : 6301,
  36. connectionLimit : 3000
  37. };
  38. let redisInfo = {};
  39. redisInfo['dw_dice'] = {
  40. host : '172.31.47.187',
  41. port : 6381,
  42. pwd : '5f8ebe00a28837409',
  43. password : '5f8ebe00a28837409',
  44. };
  45. redisInfo['dw_box'] = {
  46. host : '172.31.47.187',
  47. port : 6382,
  48. pwd : '5f8ebe00a28837409',
  49. password : '5f8ebe00a28837409',
  50. };
  51. redisInfo['dw_chat'] = redisInfo['dw_box'];
  52. redisInfo['logstash_redis'] = {
  53. host : '172.31.47.187',
  54. port : 6380,
  55. pwd : '5f8ebe00a28837409',
  56. password : '5f8ebe00a28837409',
  57. };
  58. exports.dbInfo = dbInfo;
  59. exports.redisInfo = redisInfo;