application.properties 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # ####################################################################################################
  2. # 服务端配置
  3. server.port=8099
  4. server.servlet.context-path=/
  5. server.tomcat.uri-encoding=UTF-8
  6. server.tomcat.max-http-post-size=-1
  7. server.connection-timeout=18000000s
  8. # ####################################################################################################
  9. # thymeleaf 配置
  10. spring.thymeleaf.cache=false
  11. spring.thymeleaf.jackson.time-zone=GMT+8
  12. spring.thymeleaf.jackson.date-format=yyyy-MM-dd HH:mm:ss
  13. # ####################################################################################################
  14. # 数据源配置
  15. spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  16. spring.datasource.url=jdbc:mysql://118.190.47.230:3306/cloud_model_test?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
  17. spring.datasource.username=root
  18. spring.datasource.password=p011430seya1026
  19. #spring.datasource.druid.test-on-borrow=true
  20. #spring.datasource.druid.test-while-idle=true
  21. # ####################################################################################################
  22. # MyBatis 配置
  23. mybatis.mapper-locations=mappers/*Mapper.xml
  24. mybatis.type-aliases-package=com.hssx.cloudmodel.entity/*
  25. # 控制台输出SQL语句
  26. logging.level.com.hssx.cloudmodel.mapper = debug
  27. # ####################################################################################################
  28. #配置Session
  29. spring.session.store-type=none
  30. # ####################################################################################################
  31. #成功页面跳转
  32. spring.thymeleaf.prefix=classpath:/static/
  33. ######################################################################################################
  34. ## redis 配置
  35. #spring.redis.host=localhost
  36. #spring.redis.port=6379
  37. ######################################################################################################
  38. # 文件上传路径
  39. upload.path=D:/mould/upload/
  40. ######################################################################################################
  41. # 文件下载路径
  42. download.path=D:/mould/download/
  43. # 邀请人员链接前缀
  44. invitation.url.prefix=https://localhost:8090/#/invite/
  45. # 备用密码
  46. sysPwd=yunmo
  47. #######################################################################################################
  48. # 配置上传文件的大小设置
  49. # Single file max size 即单个文件大小
  50. spring.servlet.multipart.max-file-size=10000MB
  51. spring.servlet.multipart.max-request-size=10000MB
  52. ##################SpringBoot连接池配置########
  53. spring.datasource.hikari.minimum-idle=3
  54. spring.datasource.hikari.maximum-pool-size=10
  55. spring.datasource.hikari.max-lifetime =30000
  56. spring.datasource.hikari.connection-test-query=SELECT 1
  57. logging.path=E:/