application-dev.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. server:
  2. port: 8082
  3. spring:
  4. application:
  5. name: costAccount
  6. datasource:
  7. druid:
  8. driver-class-name: com.mysql.jdbc.Driver
  9. url: jdbc:mysql://112.124.59.133:3306/cost_account?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  10. username: root
  11. password: zjxy!@#2021
  12. initial-size: 10
  13. max-active: 100
  14. min-idle: 10
  15. max-wait: 600000
  16. pool-prepared-statements: true
  17. max-pool-prepared-statement-per-connection-size: 20
  18. time-between-eviction-runs-millis: 60000
  19. min-evictable-idle-time-millis: 300000
  20. type: com.alibaba.druid.pool.DruidDataSource
  21. jackson:
  22. date-format: yyyy-MM-dd hh:mm:ss
  23. time-zone: GMT+8
  24. # default-property-inclusion: non_null
  25. #redis
  26. redis:
  27. port: 6379
  28. host: 112.124.59.133
  29. password: zjxy!@#2021
  30. jedis:
  31. pool:
  32. max-active: 30
  33. max-idle: 10
  34. max-wait: -1
  35. min-idle: 0
  36. mybatis-plus:
  37. mapper-locations: classpath*:/mapper/*.xml
  38. type-aliases-package: com.imed.costaccount.model
  39. configuration:
  40. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  41. global-config:
  42. db-config:
  43. id-type: auto
  44. logic-not-delete-value: 0
  45. logic-delete-value: UNIX_TIMESTAMP(NOW()) * 1000
  46. banner: false
  47. #日志
  48. # log config
  49. logging:
  50. config: classpath:log4j2.xml
  51. level:
  52. io.swagger.models.parameters.AbstractSerializableParameter: error
  53. ####本地文件相关配置
  54. file:
  55. #Windows
  56. # filelocal: file:D:\\file\\
  57. #linux
  58. filelocal: file:/image/
  59. #linux
  60. # serverPath: /image
  61. #windows
  62. serverPath: D://file
  63. #local
  64. # serverUrl: http://112.124.59.133:8082//
  65. #linux
  66. serverUrl: http://112.124.59.133:8082/