application-dev.yml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://61.243.3.209:8903/hxserver?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&pinGlobalTxToPhysicalConnection=true&serverTimezone=UTC
  4. username: root
  5. password: xingxing12345678
  6. driver-class-name: com.mysql.cj.jdbc.Driver
  7. type: com.alibaba.druid.pool.DruidDataSource
  8. redis:
  9. host: 127.0.0.1 # Redis服务器地址
  10. database: 4 # Redis数据库索引(默认为0)
  11. port: 6379 # Redis服务器连接端口
  12. password: rshy # Redis服务器连接密码(默认为空)
  13. jedis:
  14. pool:
  15. max-active: 20 # 连接池最大连接数(使用负值表示没有限制)
  16. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  17. max-idle: 8 # 连接池中的最大空闲连接
  18. min-idle: 0 # 连接池中的最小空闲连接
  19. timeout: 5000 # 连接超时时间(毫秒)
  20. main:
  21. allow-bean-definition-overriding: true
  22. task:
  23. enableTask: true
  24. mybatis-plus:
  25. configuration:
  26. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  27. config:
  28. application