application.properties 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # ####################################################################################################
  2. # 服务端配置
  3. server.port=9099
  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?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
  17. spring.datasource.url=jdbc:mysql://47.100.37.243:7644/cloud_model?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
  18. spring.datasource.username=root
  19. spring.datasource.password=Hssx2018.!
  20. #spring.datasource.druid.test-on-borrow=true
  21. #spring.datasource.druid.test-while-idle=true
  22. # ####################################################################################################
  23. # MyBatis 配置
  24. mybatis.mapper-locations=mappers/*Mapper.xml
  25. mybatis.type-aliases-package=com.hssx.cloudmodel.entity/*
  26. # 控制台输出SQL语句
  27. logging.level.com.hssx.cloudmodel.mapper = debug
  28. # ####################################################################################################
  29. #配置Session
  30. spring.session.store-type=none
  31. # ####################################################################################################
  32. #成功页面跳转
  33. spring.thymeleaf.prefix=classpath:/static/
  34. ######################################################################################################
  35. ## redis 配置
  36. #spring.redis.host=localhost
  37. #spring.redis.port=6379
  38. ######################################################################################################
  39. # 文件上传路径
  40. upload.path=D:/mould/upload/
  41. ######################################################################################################
  42. # 文件下载路径
  43. download.path=D:/mould/download/
  44. # 邀请人员链接前缀
  45. invitation.url.prefix=https://localhost:8090/#/invite/
  46. # 备用密码
  47. sysPwd=yunmo
  48. #######################################################################################################
  49. # 配置上传文件的大小设置
  50. # Single file max size 即单个文件大小
  51. spring.servlet.multipart.max-file-size=10000MB
  52. spring.servlet.multipart.max-request-size=10000MB
  53. ##################SpringBoot连接池配置########
  54. spring.datasource.hikari.minimum-idle=3
  55. spring.datasource.hikari.maximum-pool-size=10
  56. spring.datasource.hikari.max-lifetime =30000
  57. spring.datasource.hikari.connection-test-query=SELECT 1
  58. logging.path=E:/