iot-platform.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. spring:
  2. application:
  3. name: iot-platform
  4. datasource:
  5. type: com.alibaba.druid.pool.DruidDataSource
  6. driver-class-name: com.mysql.cj.jdbc.Driver
  7. url: jdbc:mysql://10.10.10.221:3306/iot_manage
  8. username: root
  9. password: TFGhA6AkJesRP4ZT
  10. druid:
  11. web-stat-filter:
  12. enabled: true
  13. stat-view-servlet:
  14. enabled: true
  15. url-pattern: /druid/*
  16. allow:
  17. login-username:
  18. login-password:
  19. filter:
  20. stat:
  21. enabled: true
  22. log-slow-sql: true
  23. slow-sql-millis: 100
  24. merge-sql: true
  25. wall:
  26. config:
  27. multi-statement-allow: true
  28. servlet:
  29. multipart:
  30. max-file-size: 10MB
  31. max-request-size: 50MB
  32. mybatis-plus:
  33. configuration:
  34. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  35. file:
  36. list:
  37. oss: pdf,gif,jpg,jpeg,png,doc,docx,xls,xlsx,heic
  38. aliyun: pdf,gif,jpg,jpeg,png,doc,docx,xls,xlsx
  39. qiniu: pdf,gif,jpg,jpeg,png,doc,docx,xls,xlsx
  40. aliyun:
  41. oss:
  42. endpoint: oss-cn-chengdu.aliyuncs.com
  43. accessKeyId: LTAI5tHq44Cn3p8qqPN7DKc1
  44. secret: nQaRrRwlcIWD5jNBu9CZ14YZhaRbTG
  45. bucket: saas-four