application-base.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. spring:
  2. application:
  3. name: dcuc-auth-back
  4. cloud:
  5. nacos:
  6. discovery:
  7. # 配置nacos地址
  8. server-addr: 127.0.0.1:8848
  9. servlet:
  10. multipart:
  11. # 设置文件上传大小,springboot默认的最大上传大小是1MB
  12. max-file-size: 150MB
  13. max-request-size: 150MB
  14. server:
  15. port: 8861
  16. servlet:
  17. context-path: /dcucauth
  18. jsp:
  19. init-parameters:
  20. development: true
  21. management:
  22. endpoints:
  23. web:
  24. exposure:
  25. include: '*'
  26. duceap:
  27. swagger:
  28. enabled: true
  29. package-path: com.dragoninfo.dcuc.authweb.restcontroller.api
  30. license:
  31. #配置用来指定license对接的后端项目地址(格式:ip:port/context,如http://10.10.10.10:8080/ctx),
  32. #默认使用HttpServletRequest.getLocalAddr()方法获取ip地址,
  33. #应用在docker部署环境中无法获取机子的真实ip地址 考虑以配置参数的形式传入
  34. address: http://127.0.0.1:8861/auth
  35. apollo:
  36. client:
  37. host: http://10.201.3.20:8070
  38. security-access:
  39. jwt:
  40. enabled: true
  41. user-token-header-name: userToken
  42. security:
  43. # type: dcuc ## 注解掉不开启认证登录
  44. dcuc:
  45. cas-server-url-prefix: http://192.168.10.2:8877/sso
  46. server-name: 10.11.1.151:8000
  47. ignore-pattern: '/js/*|/img/*|/css/*|/api/*|/*.png|/rest/*|/webSocket/*|/oauthLogin/*|/authorizationPage.html|/importAuthorizationFile.html|/license/LicenseManagerServlet|/authorizationFile/'
  48. app-code: QXXT0000000000000001
  49. api-url: http://192.168.10.2:8860/dcuc
  50. dids2:
  51. appCode: YHZX0000000000000001
  52. SSOLoginUrl: http://192.168.6.128:9995/didsserver/login
  53. #单点登录服务接口地址
  54. SSOValidateUrl: http://192.168.6.128:9995/didsserver/serviceValidate
  55. #跳转前端地址
  56. SSOServiceUrl: http://10.11.0.240:18871/dcuc/login
  57. #单点登录服务接口地址
  58. webServiceUrl: http://192.168.6.128:9995/didsserver/webservices/
  59. noFilterUrl: services,hessian,commons,install.action,.xml,/install,/widgets-src/,/authorizationPage.html,/importAuthorizationFile.html,/license/LicenseManagerServlet,/authorizationFile/,/api/,/js/,/png/,/rest/
  60. hystrix:
  61. command:
  62. default:
  63. execution:
  64. timeout:
  65. #hystrix熔断器开关
  66. enabled: true
  67. isolation:
  68. thread:
  69. #hystrix熔断器熔断时间
  70. timeoutInMilliseconds: 30000
  71. ribbon:
  72. ReadTimeout: 30000
  73. ConnectTimeout: 30000
  74. dcuc:
  75. authweb:
  76. app-code: QXXT0000000000000001
  77. auth-access: true
  78. check-type-enum: token