config.dev.inc.js 755 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. global['DEBUG'] = true;
  2. global['TYPE_SELF_CALL'] = 'test_ws-chat_call';
  3. global['TYPE_MODULE_CALL'] = 'test_ws-chat_call';
  4. global['CALL_LOG_KEY'] = 'logstash:dw#1';
  5. let dbInfo = {};
  6. dbInfo['dw_chat'] = {
  7. host : '61.160.36.225',
  8. user : 'ojiatest',
  9. password : 'ojia305',
  10. database : 'dw_chat',
  11. port : 3306,
  12. connectionLimit : 1000
  13. };
  14. let redisInfo = {};
  15. redisInfo['dw_dice'] = {
  16. host : '61.160.36.225',
  17. port : 6407,
  18. password : 'ojia123',
  19. db : 11
  20. };
  21. redisInfo['dw_chat'] = {
  22. host : '61.160.36.225',
  23. port : 6407,
  24. password : 'ojia123',
  25. db : 13
  26. };
  27. redisInfo['logstash_redis'] = {
  28. host : '61.160.36.225',
  29. port : 6403,
  30. password : 'ojia123',
  31. };
  32. exports.dbInfo = dbInfo;
  33. exports.redisInfo = redisInfo;