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.

cfg.yml 1.5 KiB

2 years ago
2 years ago
2 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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://127.0.0.1:5003
  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. # 日志
  36. log:
  37. app_name: 'applet'
  38. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  39. is_stdout: true
  40. time_format: 'standard' # sec, second, milli, nano, standard, iso
  41. encoding: 'console'
  42. is_file_out: true
  43. file_dir: './tmp/'
  44. file_max_size: 256
  45. file_max_age: 1
  46. file_name: 'debug.log'
  47. # 连接RabbitMq
  48. mq:
  49. host: '116.62.62.35'
  50. port: '5672'
  51. user: 'zhios'
  52. pwd: 'ZHIoscnfnuo123'
  53. # 连接ElasticSearch
  54. es:
  55. url: 'http://120.55.48.175:9200'
  56. user: 'elastic'
  57. pwd: 'fnuo123'
  58. # 监听RabbitMq队列名
  59. mq_work_queue_name: 'pay_query_work_queue,pay_return_query_work_queue,test_work_queue'
  60. # 测试环境的ip
  61. rabbitMq_addr_test: 'amqp://admin:123456@119.23.182.117:5672/'
  62. # 正式环境的ip
  63. rabbitMq_addr: 'amqp://zhios:ZHIoscnfnuo123@116.62.62.35:5672/'