application.yml 1018 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. server:
  2. port: 1003
  3. spring:
  4. application:
  5. name: RandomMatch
  6. # 数据库配置
  7. datasource:
  8. url: jdbc:mysql://115.190.125.125:3306/hunlian?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&useSSL=false&allowPublicKeyRetrieval=true
  9. username: root
  10. password: lsx@hfs?gln.lsc
  11. driver-class-name: com.mysql.cj.jdbc.Driver
  12. # Redis配置
  13. redis:
  14. host: 115.190.125.125
  15. port: 6377
  16. password: lsx@hfs?gln.lsc
  17. database: 0
  18. timeout: 10000ms
  19. lettuce:
  20. pool:
  21. max-active: 8 # 连接池最大连接数
  22. max-idle: 8 # 连接池最大空闲连接数
  23. min-idle: 0 # 连接池最小空闲连接数
  24. max-wait: -1ms # 连接池最大阻塞等待时间
  25. # MyBatis Plus配置
  26. mybatis-plus:
  27. configuration:
  28. map-underscore-to-camel-case: true
  29. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  30. global-config:
  31. db-config:
  32. logic-delete-field: isDeleted
  33. logic-delete-value: 1
  34. logic-not-delete-value: 0