application-dev.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. server:
  2. port: 9090
  3. spring:
  4. application:
  5. name: huimv-registration
  6. datasource:
  7. url: jdbc:mysql://192.168.1.7:3306/huimv_registration_center?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  8. username: root
  9. password: hm123456
  10. driver-class-name: com.mysql.cj.jdbc.Driver
  11. # jpa:
  12. # show-sql: true
  13. # database: mysql
  14. # hibernate:
  15. # ddl-auto: update
  16. # database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
  17. # open-in-view: true
  18. #配置rabbitMq 服务器
  19. # rabbitmq:
  20. # host: 10.0.0.4
  21. # port: 5672
  22. # username: huimv
  23. # password: hm123456
  24. # #虚拟host 可以不设置,使用server默认host
  25. # virtual-host: /
  26. #redis
  27. # redis:
  28. # database: 0
  29. # host: 192.168.1.68
  30. # port: 6379
  31. # password: hm123456
  32. # timeout: 5000ms
  33. # jedis:
  34. # pool:
  35. # max-active: 20
  36. # max-wait: -1
  37. # max-idle: 10
  38. # min-idle: 0
  39. # lettuce:
  40. # pool:
  41. # max-active: 3
  42. # min-idle: 2
  43. # max-idle: 3
  44. # max-wait: 1
  45. # shutdown-timeout: 100
  46. # data:
  47. # redis:
  48. # repositories:
  49. # enabled: false
  50. #是否缓存空值
  51. # cache:
  52. # redis:
  53. # cache-null-values: false
  54. #server:
  55. # port: 9110
  56. #spring:
  57. # application:
  58. # name: huimv-hy-autoGetData
  59. #
  60. # datasource:
  61. ## url: jdbc:mysql://47.98.175.112:3306/huimv_ql_farm_haiyan?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  62. # # url: jdbc:mysql://36.22.189.214:3306/huimv_ql_farm?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  63. # url: jdbc:mysql://192.168.1.7:3306/huimv_ql_farm?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  64. # username: root
  65. # password: hm123456
  66. # driver-class-name: com.mysql.cj.jdbc.Driver
  67. # jpa:
  68. # properties:
  69. # hibernate:
  70. # enable_lazy_load_no_trans: true
  71. # show-sql: true
  72. # database: mysql
  73. # hibernate:
  74. # ddl-auto: update
  75. # database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
  76. # open-in-view: true
  77. rabbitmq:
  78. host: 121.36.134.218
  79. port: 5672
  80. username: admin
  81. password: admin
  82. #虚拟host 可以不设置,使用server默认host
  83. virtual-host: /registration_center
  84. listener:
  85. simple:
  86. acknowledge-mode: none
  87. #redis
  88. redis:
  89. database: 0
  90. host: 121.36.134.218
  91. port: 6379
  92. password: hm123456
  93. timeout: 5000ms
  94. jedis:
  95. pool:
  96. max-active: 20
  97. max-wait: -1
  98. max-idle: 10
  99. min-idle: 0
  100. lettuce:
  101. pool:
  102. max-active: 3
  103. min-idle: 2
  104. max-idle: 3
  105. max-wait: 1
  106. shutdown-timeout: 100
  107. mybatis-plus:
  108. configuration:
  109. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  110. # mapper.xml文件所存放的位置
  111. mapper-locations: classpath*:com/huimv/center/mapper/xml/*.xml # 不加这一行出错:“org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)”
  112. # mapper-locations: classpath:com/huimv/center/mappers/**/*Mapper.xml