pigx-upms-biz-dev.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ## spring security 配置
  2. security:
  3. oauth2:
  4. client:
  5. client-id: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
  6. client-secret: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
  7. scope: server
  8. # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  9. ignore-urls:
  10. - '/actuator/**'
  11. - '/v2/api-docs'
  12. - '/user/info/*'
  13. - '/social/info/*'
  14. - '/mobile/*'
  15. - '/log/save'
  16. # 数据源
  17. spring:
  18. datasource:
  19. type: com.zaxxer.hikari.HikariDataSource
  20. driver-class-name: com.mysql.cj.jdbc.Driver
  21. username: root
  22. password: root
  23. url: jdbc:mysql://pigx-mysql:3306/pigxx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true
  24. # swagger相关配置,覆盖全局配置
  25. swagger:
  26. authorization:
  27. authorization-scope-list:
  28. - scope: 'server'
  29. description: 'server all'
  30. - scope: 'read'
  31. description: 'read all'
  32. - scope: 'write'
  33. description: 'access all'
  34. # 文件系统
  35. minio:
  36. url: http://139.224.200.249:9090
  37. access-key: lengleng
  38. secret-key: lengleng
  39. # Logger Config
  40. logging:
  41. level:
  42. com.pig4cloud.pigx.admin.mapper: debug