golang 的 rabbitmq 消费项目
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

114 wiersze
2.1 KiB

  1. # 当前域名
  2. debug: true
  3. curldebug: true
  4. prd: false
  5. local: true
  6. # 服务器参数
  7. srv_addr: ':5100'
  8. # 缓存
  9. redis_addr: '120.24.28.6:32572'
  10. admin:
  11. url: http://zyos.com
  12. iurl: http://zyos.com
  13. api_aes_key: e{&[^<wpliI$AgKs:>Ft(.~g]1eR-]VO
  14. api_aes_iv: ZV`7<5X]/2brS@sz
  15. host: http://127.0.0.1:5003
  16. official:
  17. url: http://izhyin.com
  18. supply:
  19. url: http://supply-chain-admin:5500
  20. app_comm:
  21. url: http://api.zhiyingos.com
  22. wxapplet_filepath:
  23. url: '/etc/zyos-admin/wx_check_file'
  24. # 连接官网数据库获取db mapping
  25. db:
  26. host: '119.23.182.117:3306'
  27. name: 'zyos_website'
  28. user: 'root'
  29. psw: 'Fnuo123com@'
  30. show_log: true
  31. max_lifetime: 30
  32. max_open_conns: 100
  33. max_idle_conns: 100
  34. path: 'tmp/%s.log'
  35. zhimeng_db:
  36. host: '119.23.182.117:3306'
  37. name: 'zhi_meng'
  38. user: 'root'
  39. psw: 'Fnuo123com@'
  40. show_log: true
  41. max_lifetime: 30
  42. max_open_conns: 100
  43. max_idle_conns: 100
  44. path: 'tmp/%s.log'
  45. # 连接 big_data_screen 数据库
  46. data_db:
  47. host: 'zhios123.rwlb.rds.aliyuncs.com:3306'
  48. name: 'big_data_screen'
  49. user: 'canal'
  50. psw: 'canal'
  51. show_log: true
  52. max_lifetime: 30
  53. max_open_conns: 100
  54. max_idle_conns: 100
  55. path: 'tmp/%s.log'
  56. im_db:
  57. host: 'zhios123.rwlb.rds.aliyuncs.com:3306'
  58. name: 'gim'
  59. user: 'canal'
  60. psw: 'canal'
  61. show_log: true
  62. max_lifetime: 30
  63. max_open_conns: 100
  64. max_idle_conns: 100
  65. path: 'tmp/%s.log'
  66. # 日志
  67. log:
  68. app_name: 'applet'
  69. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  70. is_stdout: true
  71. time_format: 'standard' # sec, second, milli, nano, standard, iso
  72. encoding: 'console'
  73. is_file_out: true
  74. file_dir: './tmp/'
  75. file_max_size: 256
  76. file_max_age: 1
  77. file_name: 'debug.log'
  78. # 连接RabbitMq
  79. mq:
  80. host: '116.62.62.35'
  81. port: '5672'
  82. user: 'zhios'
  83. pwd: 'ZHIoscnfnuo123'
  84. # 连接ElasticSearch
  85. es:
  86. url: 'http://120.55.48.175:9200'
  87. user: 'elastic'
  88. pwd: 'fnuo123'
  89. # 测试环境的ip
  90. rabbitMq_addr_test: 'amqp://admin:123456@119.23.182.117:5672/'
  91. # 正式环境的ip
  92. rabbitMq_addr: 'amqp://zhios:ZHIoscnfnuo123@116.62.62.35:5672/'
  93. im_business_rpc:
  94. url: im-rpc-business.zhiyingos.com
  95. port: 8000
  96. im_logic_rpc:
  97. url: im-rpc-logic.zhiyingos.com
  98. port: 8003