golang 的 rabbitmq 消费项目
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.
 
 
 

103 line
2.0 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: 'zhios123.rwlb.rds.aliyuncs.com:3306'
  27. name: 'zyos_website'
  28. user: 'canal'
  29. psw: 'canal'
  30. show_log: true
  31. max_lifetime: 30
  32. max_open_conns: 100
  33. max_idle_conns: 100
  34. path: 'tmp/%s.log'
  35. # 连接 big_data_screen 数据库
  36. data_db:
  37. host: 'zhios123.rwlb.rds.aliyuncs.com:3306'
  38. name: 'big_data_screen'
  39. user: 'canal'
  40. psw: 'canal'
  41. show_log: true
  42. max_lifetime: 30
  43. max_open_conns: 100
  44. max_idle_conns: 100
  45. path: 'tmp/%s.log'
  46. im_db:
  47. host: 'zhios123.rwlb.rds.aliyuncs.com:3306'
  48. name: 'gim'
  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. # 日志
  57. log:
  58. app_name: 'applet'
  59. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  60. is_stdout: true
  61. time_format: 'standard' # sec, second, milli, nano, standard, iso
  62. encoding: 'console'
  63. is_file_out: true
  64. file_dir: './tmp/'
  65. file_max_size: 256
  66. file_max_age: 1
  67. file_name: 'debug.log'
  68. # 连接RabbitMq
  69. mq:
  70. host: '116.62.62.35'
  71. port: '5672'
  72. user: 'zhios'
  73. pwd: 'ZHIoscnfnuo123'
  74. # 连接ElasticSearch
  75. es:
  76. url: 'http://120.55.48.175:9200'
  77. user: 'elastic'
  78. pwd: 'fnuo123'
  79. # 测试环境的ip
  80. rabbitMq_addr_test: 'amqp://admin:123456@119.23.182.117:5672/'
  81. # 正式环境的ip
  82. rabbitMq_addr: 'amqp://zhios:ZHIoscnfnuo123@116.62.62.35:5672/'
  83. im_business_rpc:
  84. url: im-rpc-business.zhiyingos.com
  85. port: 8000
  86. im_logic_rpc:
  87. url: im-rpc-logic.zhiyingos.com
  88. port: 8003