pigx-upms-dev.yml 744 B

123456789101112131415161718192021222324252627
  1. ## spring security 配置
  2. security:
  3. oauth2:
  4. client:
  5. client-id: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
  6. client-secret: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
  7. scope: server
  8. # 数据源
  9. spring:
  10. datasource:
  11. type: com.zaxxer.hikari.HikariDataSource
  12. driver-class-name: com.mysql.jdbc.Driver
  13. username: root
  14. password: root
  15. url: jdbc:mysql://pigx-mysql:3306/pigxx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true
  16. # swagger相关配置,覆盖全局配置
  17. swagger:
  18. authorization:
  19. authorization-scope-list:
  20. - scope: 'server'
  21. description: 'server all'
  22. - scope: 'read'
  23. description: 'read all'
  24. - scope: 'write'
  25. description: 'access all'