application-prod.yml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. server:
  2. port: 8098
  3. spring:
  4. application:
  5. name: huimv-env-produce
  6. datasource:
  7. url: jdbc:mysql://122.112.224.199: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. # 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. host: 122.112.224.199
  41. port: 6379
  42. password: hm123456
  43. mybatis-plus:
  44. configuration:
  45. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  46. #server:
  47. # port: 9110
  48. #spring:
  49. # application:
  50. # name: huimv-hy-autoGetData
  51. #
  52. # datasource:
  53. ## url: jdbc:mysql://47.98.175.112:3306/huimv_ql_farm_haiyan?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  54. # # url: jdbc:mysql://36.22.189.214:3306/huimv_ql_farm?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  55. # url: jdbc:mysql://192.168.1.7:3306/huimv_ql_farm?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  56. # username: root
  57. # password: hm123456
  58. # driver-class-name: com.mysql.cj.jdbc.Driver
  59. # jpa:
  60. # properties:
  61. # hibernate:
  62. # enable_lazy_load_no_trans: true
  63. # show-sql: true
  64. # database: mysql
  65. # hibernate:
  66. # ddl-auto: update
  67. # database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
  68. # open-in-view: true
  69. management:
  70. endpoints:
  71. web:
  72. exposure:
  73. include: "*" # * 在yaml 文件属于关键字,所以需要加引号