application-dev.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. server:
  2. port: 8093
  3. spring:
  4. application:
  5. name: huimv-env-input
  6. datasource:
  7. url: jdbc:mysql://115.238.57.190:3306/huimv-farm-env?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. rabbitmq:
  27. # host: 192.168.1.82
  28. host: 119.3.84.55
  29. port: 5672
  30. username: huimv
  31. password: hm123456
  32. #虚拟host 可以不设置,使用server默认host
  33. # virtual-host: /dev
  34. #确认消息已发送到交换机(Exchange)
  35. # publisher-confirms: true #(过时、弃用)
  36. publisher-confirm-type: correlated
  37. #确认消息已发送到队列(Queue)
  38. publisher-returns: true
  39. #redis
  40. # redis:
  41. # database: 0
  42. # host: 192.168.1.68
  43. # port: 6379
  44. # password: hm123456
  45. # timeout: 5000ms
  46. # jedis:
  47. # pool:
  48. # max-active: 20
  49. # max-wait: -1
  50. # max-idle: 10
  51. # min-idle: 0
  52. # lettuce:
  53. # pool:
  54. # max-active: 3
  55. # min-idle: 2
  56. # max-idle: 3
  57. # max-wait: 1
  58. # shutdown-timeout: 100
  59. # data:
  60. # redis:
  61. # repositories:
  62. # enabled: false
  63. #是否缓存空值
  64. # cache:
  65. # redis:
  66. # cache-null-values: false
  67. #server:
  68. # port: 9110
  69. #spring:
  70. # application:
  71. # name: huimv-hy-autoGetData
  72. #
  73. # datasource:
  74. ## url: jdbc:mysql://47.98.175.112:3306/huimv_ql_farm_haiyan?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  75. # # url: jdbc:mysql://36.22.189.214:3306/huimv_ql_farm?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  76. # url: jdbc:mysql://192.168.1.7:3306/huimv_ql_farm?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  77. # username: root
  78. # password: hm123456
  79. # driver-class-name: com.mysql.cj.jdbc.Driver
  80. # jpa:
  81. # properties:
  82. # hibernate:
  83. # enable_lazy_load_no_trans: true
  84. # show-sql: true
  85. # database: mysql
  86. # hibernate:
  87. # ddl-auto: update
  88. # database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
  89. # open-in-view: true
  90. management:
  91. endpoints:
  92. web:
  93. exposure:
  94. include: "*" # * 在yaml 文件属于关键字,所以需要加引号