2.0重构版本
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

48 rader
953 B

  1. smtweb:
  2. machine-id: 1
  3. static:
  4. local-path: /data/sw/static/
  5. file:
  6. local-path: /data/sw/files/
  7. url: http://127.0.0.1:8888/files
  8. db:
  9. default:
  10. rule:
  11. prefix: _smt_
  12. replace: smt_
  13. server:
  14. port: 8888
  15. servlet:
  16. context-path: /
  17. logging:
  18. level:
  19. root: INFO
  20. cc.smtweb: DEBUG
  21. spring:
  22. # 设置服务名
  23. application:
  24. name: smtweb_core
  25. main:
  26. allow-bean-definition-overriding: true
  27. redis:
  28. host: 127.0.0.1
  29. port: 6379
  30. password:
  31. datasource:
  32. driver-class-name: com.mysql.cj.jdbc.Driver
  33. url: jdbc:mysql://127.0.0.1:3306/sw_user?serverTimezone=UTC&allowMultiQueries=true&useSSL=false
  34. username: root
  35. password: 1681860
  36. servlet:
  37. multipart:
  38. max-file-size: 104857600000
  39. max-request-size: 10485760000000
  40. profiles:
  41. include: role
  42. cache:
  43. type: caffeine
  44. cache-names:
  45. - core
  46. caffeine:
  47. spec: maximumSize=1024,expireAfterWrite=2h