application-dev.yml 2.9 KB

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