1
0

application.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #---------- OSS 项目 ----------#
  2. #---
  3. # 项目配置
  4. app:
  5. name: Spring Boot
  6. description: ${app.name} is a Spring Boot application
  7. # 服务配置
  8. server:
  9. address: 127.0.0.1
  10. port: 9090
  11. servlet:
  12. context-path: /api
  13. # OSS Object Storage Server 对象存储配置
  14. oss-confg:
  15. host: 3f352e8584.qicp.vip
  16. port: 15633
  17. accesskeyId: minio
  18. secretAccessKey: jP*K*WapB1
  19. spring:
  20. profiles:
  21. active: dev
  22. # 使用CGLIB实现AOP
  23. aop:
  24. # true:基于类的代理, false基于接口的代理
  25. proxy-target-class: true
  26. # -------------------- --------------------
  27. # OSS Object Storage Server 对象存储
  28. minio:
  29. # true:scheme为https,false:scheme为http
  30. secure: false
  31. endpoint: ${oss-confg.host}
  32. port: ${oss-confg.port}
  33. accesskeyId: ${oss-confg.accesskeyId}
  34. secretAccessKey: ${oss-confg.secretAccessKey}
  35. # 当stoage下的存储桶 buckets
  36. buckets:
  37. # 跟具体业务相关名称,对应如下的 buckets值
  38. product: product