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.
 
 
 

86 lines
1.7 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://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. # 连接 big_data_screen 数据库
  36. data_db:
  37. host: '119.23.182.117:3306'
  38. name: 'big_data_screen'
  39. user: 'root'
  40. psw: 'Fnuo123com@'
  41. show_log: true
  42. max_lifetime: 30
  43. max_open_conns: 100
  44. max_idle_conns: 100
  45. path: 'tmp/%s.log'
  46. # 日志
  47. log:
  48. app_name: 'applet'
  49. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  50. is_stdout: true
  51. time_format: 'standard' # sec, second, milli, nano, standard, iso
  52. encoding: 'console'
  53. is_file_out: true
  54. file_dir: './tmp/'
  55. file_max_size: 256
  56. file_max_age: 1
  57. file_name: 'debug.log'
  58. # 连接RabbitMq
  59. mq:
  60. host: '116.62.62.35'
  61. port: '5672'
  62. user: 'zhios'
  63. pwd: 'ZHIoscnfnuo123'
  64. # 连接ElasticSearch
  65. es:
  66. url: 'http://120.55.48.175:9200'
  67. user: 'elastic'
  68. pwd: 'fnuo123'
  69. # 监听RabbitMq队列名
  70. mq_work_queue_name: 'pay_query_work_queue,pay_return_query_work_queue,test_work_queue'
  71. # 测试环境的ip
  72. rabbitMq_addr_test: 'amqp://admin:123456@119.23.182.117:5672/'
  73. # 正式环境的ip
  74. rabbitMq_addr: 'amqp://zhios:ZHIoscnfnuo123@116.62.62.35:5672/'