application-dev.yml 2.6 KB

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