杭州市委办项管
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

78 wiersze
1.9KB

  1. server:
  2. port: 38088
  3. spring:
  4. application:
  5. name: syn-data-task
  6. jackson:
  7. default-property-inclusion: non_null
  8. time-zone: GMT+8
  9. date-format: yyyy-MM-dd HH:mm:ss
  10. jpa:
  11. properties:
  12. hibernate:
  13. default_schema: PUBLIC
  14. hbm2ddl:
  15. auto: update
  16. show_sql: true
  17. show-sql: true
  18. hibernate:
  19. ddl-auto: update
  20. datasource:
  21. type: com.zaxxer.hikari.HikariDataSource
  22. driver-class-name: com.mysql.cj.jdbc.Driver
  23. url: jdbc:mysql://10.53.129.228:63306/szls_da_lsxmss_sjgx?serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowPublicKeyRetrieval=true&useSSL=false
  24. username: szls_da_lsxmss
  25. password: 1Lzo6XqF
  26. # 数据源
  27. hikari:
  28. # 是客户端等待连接池连接的最大毫秒数
  29. connection-timeout: 30000
  30. # 是允许连接在连接池中空闲的最长时间
  31. minimum-idle: 10
  32. # 配置最大池大小
  33. maximum-pool-size: 20
  34. # 是允许连接在连接池中空闲的最长时间(以毫秒为单位)
  35. idle-timeout: 60000
  36. # 池中连接关闭后的最长生命周期(以毫秒为单位)
  37. max-lifetime: 600000
  38. # 配置从池返回的连接的默认自动提交行为。默认值为true。
  39. auto-commit: true
  40. # 开启连接监测泄露
  41. leak-detection-threshold: 5000
  42. # 测试连接数据库
  43. connection-test-query: SELECT 1
  44. mybatis-plus:
  45. configuration:
  46. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  47. global-config:
  48. db-config:
  49. logic-delete-value: true
  50. logic-not-delete-value: false
  51. logging:
  52. config: classpath:logback-spring.xml
  53. #日志配置
  54. level:
  55. root: info
  56. file:
  57. path: logs
  58. # 日志文件配置
  59. log:
  60. path: ./logs
  61. info:
  62. file-size: 50MB
  63. max-size: 5
  64. total-size: 200MB
  65. error:
  66. file-size: 10MB
  67. max-size: 5
  68. total-size: 50MB
  69. swagger:
  70. enabled: true
  71. task:
  72. host: iZ6mx01asxnsmennpzoxooZ
  73. switch:
  74. is-open: true #开关