application-dev.properties 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. debug=true
  2. spring.main.lazy-initialization=false
  3. spring.main.allow-bean-definition-overriding=true
  4. # application
  5. server.port=8085
  6. temp.basedir=C:/Users/pc/Desktop
  7. # mybatis-plus
  8. mybatis-plus.mapper-locations=classpath*:mapper/*.xml
  9. mybatis-plus.configuration.lazy-loading-enabled=true
  10. mybatis-plus.configuration.map-underscore-to-camel-case=true
  11. mybatis-plus.global-config.db-config.id-type=auto
  12. mybatis-plus.global-config.mapperRegistryCache=true
  13. mybatis-plus.configuration.defaultStatementTimeout=3
  14. mybatis.refresh.enabled=true
  15. mybatis.refresh.delay-seconds=10
  16. mybatis.refresh.sleep-seconds=20
  17. # datasource
  18. spring.autoconfigure.exclude=com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  19. spring.datasource.dynamic.primary=dxtop
  20. spring.datasource.dynamic.datasource.dxtop.url=jdbc:mysql://120.55.70.156:3306/dxtop?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowMultiQueries=true
  21. spring.datasource.dynamic.datasource.dxtop.username=root
  22. spring.datasource.dynamic.datasource.dxtop.password=123456
  23. spring.datasource.dynamic.druid.initial-size=5
  24. spring.datasource.dynamic.druid.min-idle=5
  25. spring.datasource.dynamic.druid.max-active=30
  26. spring.datasource.dynamic.druid.max-wait=60000
  27. spring.datasource.dynamic.druid.validation-query=select 1
  28. spring.datasource.dynamic.druid.test-while-idle=true
  29. spring.datasource.dynamic.druid.test-on-borrow=true
  30. spring.datasource.dynamic.druid.test-on-return=false
  31. spring.datasource.dynamic.druid.pool-prepared-statements=true
  32. spring.datasource.dynamic.druid.max-pool-prepared-statement-per-connection-size=20
  33. spring.datasource.dynamic.druid.time-between-eviction-runs-millis=60000
  34. spring.datasource.dynamic.druid.min-evictable-idle-time-millis=300000
  35. spring.datasource.dynamic.druid.filters=wall,stat,log4j2
  36. spring.datasource.dynamic.druid.wall.multi-statement-allow=true
  37. # druid \u76D1\u63A7 WebStatFilter\u914D\u7F6E
  38. spring.datasource.druid.web-stat-filter.enabled=true
  39. spring.datasource.druid.web-stat-filter.url-pattern=/*
  40. spring.datasource.druid.web-stat-filter.exclusions=*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*
  41. spring.datasource.druid.web-stat-filter.profile-enable=true
  42. # druid \u89C6\u56FE StatViewServlet\u914D\u7F6E
  43. spring.datasource.druid.stat-view-servlet.enabled=true
  44. spring.datasource.druid.stat-view-servlet.url-pattern=/druid/*
  45. spring.datasource.druid.stat-view-servlet.reset-enable=true
  46. spring.datasource.druid.stat-view-servlet.login-username=admin
  47. spring.datasource.druid.stat-view-servlet.login-password=@dmin1234
  48. # datasource log
  49. spring.datasource.druid.filter.slf4j.enabled=true
  50. spring.datasource.druid.filter.slf4j.statement-create-after-log-enabled=false
  51. spring.datasource.druid.filter.slf4j.statement-close-after-log-enabled=false
  52. spring.datasource.druid.filter.slf4j.result-set-open-after-log-enabled=false
  53. spring.datasource.druid.filter.slf4j.result-set-close-after-log-enabled=false
  54. # jackson
  55. spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
  56. spring.jackson.time-zone=GMT+0
  57. spring.jackson.default-property-inclusion=always
  58. #spring.jackson.serialization.indent_output=true
  59. spring.jackson.serialization.fail-on-empty-beans=false
  60. spring.jackson.deserialization.fail-on-unknown-properties=false
  61. spring.jackson.parser.allow-unquoted-control-chars=true
  62. spring.jackson.parser.allow-single-quotes=true
  63. # gzip
  64. server.compression.enabled=true
  65. server.compression.mime-types=application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain
  66. # cache
  67. spring.redis.database=0
  68. spring.redis.host=120.55.70.156
  69. spring.redis.port=6379
  70. spring.redis.password=123456
  71. spring.redis.timeout=10000
  72. spring.redis.jedis.pool.max-active=1000
  73. spring.redis.jedis.pool.max-idle=300
  74. spring.redis.jedis.pool.min-idle=5
  75. spring.redis.jedis.pool.max-wait=1000
  76. # token
  77. token.header: Authorization
  78. token.secret: abcdefghijklmnopqrstuvwxyz
  79. token.expireTime: 144
  80. # xss
  81. xss.enabled: true
  82. xss.excludes: /system/notice
  83. xss.urlPatterns: /system/*,/monitor/*,/tool/*
  84. # project
  85. ruoyi.name: RuoYi
  86. ruoyi.version: 3.6.0
  87. ruoyi.copyrightYear: 2021
  88. ruoyi.demoEnabled: true
  89. ruoyi.addressEnabled: false
  90. ruoyi.captchaType: math