application-dev.yml 1.8 KB

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