application.properties 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. #Server
  2. app.name=sookaCms
  3. server.port=443
  4. #spring session
  5. spring.session.store-type=hash_map
  6. #spring aop
  7. spring.aop.auto=true
  8. spring.aop.proxy-target-class=true
  9. #ehcache
  10. spring.cache.type=ehcache
  11. spring.cache.ehcache.config=classpath:ehcache.xml
  12. #devtools
  13. spring.devtools.restart.enabled=true
  14. #datasource
  15. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  16. #spring.datasource.url=jdbc:mysql://172.21.3.12/rdjt?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
  17. spring.datasource.url=jdbc:mysql://127.0.0.1/rdjt?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
  18. spring.datasource.username=root
  19. spring.datasource.password=123456
  20. #druid
  21. spring.datasource.druid.initial-size=1
  22. spring.datasource.druid.max-active=20
  23. spring.datasource.druid.max-wait=60000
  24. spring.datasource.druid.min-idle=1
  25. spring.datasource.druid.time-between-eviction-runs-millis=60000
  26. spring.datasource.druid.min-evictable-idle-time-millis=300000
  27. spring.datasource.druid.validation-query=select 'x'
  28. spring.datasource.druid.test-while-idle=true
  29. spring.datasource.druid.test-on-borrow=false
  30. spring.datasource.druid.test-on-return=false
  31. spring.datasource.druid.pool-prepared-statements=true
  32. spring.datasource.druid.max-open-prepared-statements=20
  33. spring.datasource.druid.filters=stat,wall,log4j
  34. spring.datasource.druid.filter.stat.enabled=true
  35. spring.datasource.druid.filter.stat.slow-sql-millis=10000
  36. spring.datasource.druid.filter.stat.log-slow-sql=true
  37. spring.datasource.druid.filter.config.enabled=true
  38. spring.datasource.druid.filter.encoding.enabled=true
  39. spring.datasource.druid.filter.wall.enabled=true
  40. spring.datasource.druid.stat-view-servlet.enabled=true
  41. spring.datasource.druid.stat-view-servlet.url-pattern=/system/druid/*
  42. spring.datasource.druid.aop-patterns=com.sooka.module.web.cms.service.*,com.sooka.module.web.system.service.*
  43. #Kcaptcha验证码
  44. kcaptcha.img.width=130
  45. kcaptcha.img.hight=45
  46. kcaptcha.font.size=30
  47. kcaptcha.font.color=black
  48. kcaptcha.char.length=4
  49. #system.dev.model false or true
  50. system.dev.model=true
  51. #后台登陆路径
  52. system.login.path=admin
  53. #开启用户踢出
  54. system.login.enabled-kickout=true
  55. #用户登陆最大会话
  56. system.login.max-session=1
  57. system.http.protocol=https
  58. #system.http.host=192.168.1.100
  59. system.http.host=127.0.0.1
  60. system.site.name=sookaCms
  61. system.site.prefix=rdjt
  62. system.site.subfix=.html
  63. system.site.static=true
  64. #系统默认分页大小
  65. system.site.page.size=10
  66. system.member.allow.register=false
  67. #如果启用七牛云存储,此处设置将无效
  68. enable.virtual.path=true
  69. #file upload path windows
  70. windows.file.upload.path=/Users/wangshuo/Pictures
  71. #file upload path linux
  72. linux.file.upload.path=/Users/xx/Pictures
  73. #七牛云存储
  74. qiniu.upload.on=false
  75. qiniu.access.key=
  76. qiniu.secret.key=
  77. qiniu.bucketname=
  78. qiniu.cdn.domain=
  79. #QQ
  80. oauthQQ.openid=
  81. oauthQQ.openkey=
  82. oauthQQ.redirect=
  83. #weibo
  84. oauthSina.openid=
  85. oauthSina.openkey=
  86. oauthSina.redirect=
  87. server.ssl.key-store=classpath:keystore.p12
  88. server.ssl.key-store-password=123456
  89. server.ssl.keyStoreType=PKCS12
  90. server.ssl.keyAlias=tomcat