application.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. spring:
  2. servlet:
  3. multipart:
  4. enabled: true
  5. max-file-size: 10MB
  6. max-request-size: 12MB
  7. data:
  8. mongodb:
  9. uri: mongodb://填写mongodb地址/admin
  10. database: iotkit
  11. elasticsearch:
  12. rest:
  13. uris: http://elasticsearch 连接地址
  14. connection-timeout: 10s
  15. redis:
  16. host: redis地址
  17. port: 6379
  18. database: 0
  19. password:
  20. cache:
  21. cache-names: foo,bar
  22. caffeine:
  23. spec: maximumSize=5000,expireAfterAccess=120s
  24. mvc:
  25. pathmatch:
  26. matching-strategy: ant_path_matcher
  27. aliyun:
  28. endpoint: oss-cn-shenzhen.aliyuncs.com
  29. accessKeyId: 填写阿里云accessKeyId
  30. accessKeySecret: 填写阿里云accessKeySecret
  31. keycloak:
  32. realm : 填写keycloak中定义的realm
  33. resource : iotkit
  34. auth-server-url : 填写keycloak认证地址
  35. ssl-required : external
  36. use-resource-role-mappings : false
  37. cors-max-age : 1000
  38. cors-allowed-methods : POST PUT DELETE GET
  39. cors-exposed-headers : WWW-Authenticate
  40. bearer-only : false
  41. enable-basic-auth : false
  42. expose-token : true
  43. verify-token-audience : false
  44. connection-pool-size : 20
  45. disable-trust-manager: true
  46. allow-any-hostname : false
  47. token-minimum-time-to-live : 10
  48. min-time-between-jwks-requests : 10
  49. keycloak-admin-clientid : 填写keycloak中定义的clientId
  50. keycloak-admin-user : 填写keycloak中添加的管理员用户名
  51. keycloak-admin-password : 填写keycloak中添加的管理员密码
  52. pulsar:
  53. broker: pulsar://pulsar broker地址:6650
  54. service: http://pulsar 服务地址:8080
  55. app:
  56. systemRole: iot_system_user
  57. mqtt:
  58. url: tcp://填写mqtt连接地址