2.0重构版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

application-dev.yaml 1.1 KiB

2 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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/smt_user?useUnicode=true&characterEncoding=utf-8&useTimezone=true&serverTimezone=CTT&allowMultiQueries=true
  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
  48. park:
  49. secret:
  50. key: null
  51. # key: cmVmb3JtZXJyZWZvcm1lcg==
  52. swagger:
  53. name: smtweb-core
  54. version: 2.0
  55. enabled: true