application-test.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. # activeMQ 移动端消息推送配置
  20. activemq:
  21. #ActiveMQ通讯地址
  22. broker-url: tcp://192.168.1.122:61616
  23. #用户名
  24. user: admin
  25. #密码
  26. password: admin
  27. #true 表示使用内置的MQ,false则连接服务器: 消息持久化就必须spring.activemq.in-memory=false选项
  28. in-memory: false
  29. packages:
  30. #信任所有的包: 如果直接发送对象消息,那么必须设置spring.activemq.packages.trust-all为true
  31. trust-all: true
  32. pool:
  33. #true表示使用连接池;false时,每发送一条数据创建一个连接
  34. enabled: true
  35. #连接池最大连接数
  36. max-connections: 30
  37. #空闲的连接过期时间,默认为30秒
  38. idle-timeout: 3000s
  39. jms:
  40. #如果是点对点(queue),那么此处默认应该是false,如果发布订阅,那么一定设置为true
  41. pub-sub-domain: false
  42. #aliyun OSS服务配置信息,加载到SystemConfiguration
  43. aliyun:
  44. oss:
  45. endpoint: http://oss-cn-hangzhou-internal.aliyuncs.com
  46. bucketName: ty-oss-file
  47. accessKeyId: LTAI4G1iLTczu8JxM2En57gY
  48. accessKeySecret: VHeRj3C2br87Uh447ruHsSTvYSDWeC