application.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ################### 服务端 配置 ####################
  2. server:
  3. port: 8082
  4. ################## 各种奇怪的开关 ###################
  5. zen:
  6. swagger-open: true # swagger-ui是否开启
  7. ################### spring配置 ###################
  8. spring:
  9. profiles:
  10. active: dev
  11. include: orm-mycat,rpc,mq,cache,umps,platform,job
  12. # redis:
  13. # host: localhost
  14. # port: 6379
  15. # password:
  16. http:
  17. converters:
  18. preferred-json-mapper: fastjson
  19. multipart:
  20. max-request-size: 10MB #最大请求大小
  21. max-file-size: 10MB #最大文件大小
  22. enabled: true
  23. aop:
  24. proxy-target-class: true #false为启用jdk默认动态代理,true为cglib动态代理
  25. auto: true
  26. jackson:
  27. deserialization:
  28. fail-on-unknown-properties: false # 多余字段反序列化过滤
  29. session:
  30. store-type: redis
  31. application:
  32. name: Zen
  33. logging:
  34. level:
  35. root: info
  36. com.gxzc:
  37. zen: debug
  38. zen.umps.config: debug
  39. com.xxl.job.core: warn
  40. com.atomikos: warn
  41. path: logs/
  42. file: zen.log
  43. #debug: true