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

application.yml 1.5 kB

3 years ago
3 years ago
3 years ago
3 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # 1.设置舆情系统web访问端口,默认端口号8084
  2. server:
  3. port: 8084
  4. servlet:
  5. session:
  6. cookie:
  7. name: local-portal
  8. max-age: 3600
  9. timeout: 3600
  10. spring:
  11. thymeleaf:
  12. prefix: classpath:/templates/
  13. cache: false
  14. mode: LEGACYHTML5 # 用非严格的 HTML
  15. encoding: UTF-8
  16. servlet:
  17. content-type: text/html
  18. http:
  19. # 设置编码
  20. encoding:
  21. force: true
  22. charset: UTF-8
  23. enabled: true
  24. devtools:
  25. restart:
  26. enabled: true #热部署生效
  27. application:
  28. name: stonedt-portal
  29. # 2.修改设置MySQL服务器地址和用户名及密码
  30. datasource:
  31. druid:
  32. driver-class-name: com.mysql.cj.jdbc.Driver
  33. url: jdbc:mysql://localhost:3306/stonedt_portal?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false&serverTimezone=Asia/Shanghai&useSSL=false
  34. username: root
  35. password: 123456
  36. # 3.修改设置Redis服务器地址
  37. redis:
  38. database: 0
  39. host: localhost
  40. port: 6379
  41. max-active: 10000
  42. max-idle: 10
  43. max-wait: 100000
  44. timeout: 100000
  45. # flyway 自动建库建表设置
  46. flyway:
  47. enabled: true
  48. locations: classpath:db/migration
  49. baseline-on-migrate: true
  50. mybatis:
  51. type-aliases-package: com.stonedt.intelligence.entity
  52. mapper-locations: classpath:mapper/*.xml
  53. logging:
  54. level:
  55. com.stonedt.intelligence.dao : debug

一款开源免费的舆情系统。 支持本地化部署,支持在线体验。 支持对海量舆情数据分析和挖掘。