application.yml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. server:
  2. port: 8089
  3. tomcat:
  4. uri-encoding: UTF-8
  5. servlet:
  6. context-path: /
  7. spring:
  8. servlet:
  9. multipart:
  10. max-file-size: 100MB
  11. max-request-size: 100MB
  12. datasource:
  13. druid:
  14. zjjg-mysql:
  15. driver-class-name: com.mysql.cj.jdbc.Driver
  16. url: jdbc:mysql://192.168.0.199:3306/sg_zjjg?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
  17. # url: jdbc:mysql://localhost:3306/sg_zjjg_sjdr?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
  18. username: root
  19. password: 123456
  20. initial-size: 10
  21. max-active: 20
  22. min-idle: 1
  23. max-wait: 60000
  24. time-between-eviction-runs-millis: 60000
  25. min-evictable-idle-time-millis: 30000
  26. validation-query: select 1
  27. validation-query-timeout: 500
  28. test-while-idle: true
  29. test-on-borrow: false
  30. test-on-return: false
  31. pool-prepared-statements: false
  32. filters: stat
  33. connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
  34. stat-view-servlet.enabled: true
  35. yszj-oracle:
  36. driver-class-name: oracle.jdbc.driver.OracleDriver
  37. url: jdbc:oracle:thin:@192.168.0.199:1521:orcl
  38. username: yszjjg
  39. password: yszjjg
  40. initial-size: 1
  41. min-idle: 5
  42. max-active: 20
  43. max-wait: 30000
  44. time-between-eviction-runs-millis: 60000
  45. min-evictable-idle-time-millis: 30000
  46. validation-query: select 1 from dual
  47. test-while-idle: true
  48. test-on-borrow: false
  49. test-on-return: false
  50. pool-prepared-statements: true
  51. filters: stat,wall
  52. connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
  53. stat-view-servlet.enabled: true
  54. pagehelper:
  55. helper-dialect: oracle
  56. reasonable: true
  57. support-methods-arguments: true
  58. params: count=countSql
  59. logging:
  60. level:
  61. com.cool.bang: debug
  62. file:
  63. path: d:\log\coob
  64. cool:
  65. static-path: classpath:/static/
  66. file-path: D:/cool/
  67. expire-date: 2099-01-01