application-test.yml 878 B

123456789101112131415161718192021222324252627
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://192.168.1.122:3306/rdsliftmanager?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
  4. username: root
  5. password: Ty-20526
  6. driver-class-name: com.mysql.cj.jdbc.Driver
  7. #redis缓存配置
  8. redis:
  9. database: 0 #数据库索引,默认为0
  10. host: 192.168.1.122 #服务器地址
  11. port: 6379 #端口
  12. password: tytykj #验证密码
  13. jedis:
  14. pool:
  15. max-active: 8 #最大连接数
  16. max-idle: 8 #最大空闲链接
  17. max-wait: 20000ms
  18. min-idle: 0
  19. #aliyun OSS服务配置信息,加载到SystemConfiguration
  20. aliyun:
  21. oss:
  22. endpoint: http://oss-cn-hangzhou-internal.aliyuncs.com
  23. bucketName: ty-oss-file
  24. accessKeyId: LTAI4G1iLTczu8JxM2En57gY
  25. accessKeySecret: VHeRj3C2br87Uh447ruHsSTvYSDWeC