蛋蛋星球 后台端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

71 line
1.3 KiB

  1. # 当前域名
  2. debug: true
  3. curldebug: true
  4. prd: false
  5. local: true
  6. # 服务器参数
  7. srv_addr: ':4001'
  8. # 缓存
  9. redis_addr: '127.0.0.1:6379'
  10. redis_password: ''
  11. db:
  12. host: '119.23.182.117:3306'
  13. name: 'egg'
  14. user: 'root'
  15. psw: 'Fnuo123com@'
  16. show_log: true
  17. max_lifetime: 30
  18. max_open_conns: 100
  19. max_idle_conns: 100
  20. path: 'tmp/%s.log'
  21. im_db:
  22. host: '119.23.182.117:3306'
  23. name: 'egg-im'
  24. user: 'root'
  25. psw: 'Fnuo123com@'
  26. show_log: true
  27. max_lifetime: 30
  28. max_open_conns: 100
  29. max_idle_conns: 100
  30. path: 'tmp/%s.log'
  31. # 日志
  32. log:
  33. app_name: 'applet'
  34. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  35. is_stdout: true
  36. time_format: 'standard' # sec, second, milli, nano, standard, iso
  37. encoding: 'console'
  38. is_file_out: true
  39. file_dir: './tmp/'
  40. file_max_size: 256
  41. file_max_age: 1
  42. file_name: 'debug.log'
  43. # 连接RabbitMq
  44. mq:
  45. host: '116.62.62.35'
  46. port: '5672'
  47. user: 'zhios'
  48. pwd: 'ZHIoscnfnuo123'
  49. # 连接ElasticSearch
  50. #es:
  51. # url: 'http://zhios-es-53m.public.cn-hangzhou.es-serverless.aliyuncs.com:9200'
  52. # user: 'zhios-es-53m'
  53. # pwd: 'ZHIoscnfnuo123@'
  54. es:
  55. url: 'http://120.55.48.175:9200'
  56. user: 'elastic'
  57. pwd: 'fnuo123'
  58. im_business_rpc:
  59. url: im-rpc-business.izhim.com
  60. port: 1005
  61. im_logic_rpc:
  62. url: im-rpc-logic.izhim.com
  63. port: 1008