蛋蛋星球 后台端
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

102 строки
1.9 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. #db:
  22. # host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306'
  23. # name: 'egg'
  24. # user: 'canal'
  25. # psw: 'DengBiao@1997'
  26. # show_log: true
  27. # max_lifetime: 30
  28. # max_open_conns: 100
  29. # max_idle_conns: 100
  30. # path: 'tmp/%s.log'
  31. db_back:
  32. host: '119.23.182.117:3306'
  33. name: 'egg-data-back-up'
  34. user: 'root'
  35. psw: 'Fnuo123com@'
  36. show_log: true
  37. path: 'tmp/%s.log'
  38. #db_back:
  39. # host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306'
  40. # name: 'egg-data-back-up'
  41. # user: 'canal'
  42. # psw: 'DengBiao@1997'
  43. # show_log: true
  44. # path: 'tmp/%s.log'
  45. im_db:
  46. host: '119.23.182.117:3306'
  47. name: 'egg-im'
  48. user: 'root'
  49. psw: 'Fnuo123com@'
  50. show_log: true
  51. max_lifetime: 30
  52. max_open_conns: 100
  53. max_idle_conns: 100
  54. path: 'tmp/%s.log'
  55. #im_db:
  56. # host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306'
  57. # name: 'egg-im'
  58. # user: 'canal'
  59. # psw: 'DengBiao@1997'
  60. # show_log: true
  61. # max_lifetime: 30
  62. # max_open_conns: 100
  63. # max_idle_conns: 100
  64. # path: 'tmp/%s.log'
  65. # 日志
  66. log:
  67. app_name: 'applet'
  68. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  69. is_stdout: true
  70. time_format: 'standard' # sec, second, milli, nano, standard, iso
  71. encoding: 'console'
  72. is_file_out: true
  73. file_dir: './tmp/'
  74. file_max_size: 256
  75. file_max_age: 1
  76. file_name: 'debug.log'
  77. # 连接RabbitMq
  78. mq:
  79. host: '120.77.153.180'
  80. port: '15672'
  81. user: 'guest'
  82. pwd: 'guest'
  83. es:
  84. url: 'http://123.57.140.192:9200'
  85. user: 'elastic'
  86. pwd: 'fnuo123'
  87. im_business_rpc:
  88. url: im-rpc-business.izhim.com
  89. port: 1005
  90. im_logic_rpc:
  91. url: im-rpc-logic.izhim.com
  92. port: 1008