application-hf.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # 项目相关配置
  2. gyee:
  3. #实时数据库Url
  4. baseurl: http://10.0.118.73:8011/ts
  5. healthurl: http://10.0.118.73:8011/ts
  6. #实时数据库选择
  7. realtimedataBase: mongodb #数据查询模式 golden、hwy
  8. initialcode: INITIAL
  9. server:
  10. port: 8161
  11. servlet:
  12. context-path: /
  13. management:
  14. health:
  15. redis:
  16. enabled: false
  17. spring:
  18. main:
  19. allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
  20. autoconfigure:
  21. exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
  22. datasource:
  23. type: com.alibaba.druid.pool.DruidDataSource
  24. driver-class-name: oracle.jdbc.OracleDriver
  25. #外网
  26. url: jdbc:oracle:thin:@10.0.118.71:1521:gdsj
  27. username: gdprod
  28. password: gd123
  29. oracle-schema=:
  30. # type: com.alibaba.druid.pool.DruidDataSource
  31. # url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
  32. # username: root
  33. # password: root
  34. # driver-class-name: com.mysql.jdbc.Driver
  35. druid:
  36. max-active: 20
  37. initial-size: 1
  38. min-idle: 3
  39. max-wait: 60000
  40. time-between-eviction-runs-millis: 60000
  41. min-evictable-idle-time-millis: 300000
  42. test-while-idle: true
  43. test-on-borrow: false
  44. test-on-return: false
  45. servlet:
  46. multipart:
  47. # 开启 multipart 上传功能
  48. enabled: true
  49. # 文件写入磁盘的阈值
  50. file-size-threshold: 2KB
  51. # 最大文件大小
  52. max-file-size: 200MB
  53. # 最大请求大小
  54. max-request-size: 215MB
  55. mybatis-plus:
  56. configuration:
  57. map-underscore-to-camel-case: true
  58. auto-mapping-behavior: full
  59. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  60. mapper-locations: classpath*:mapper/**/*Mapper.xml
  61. global-config:
  62. # 逻辑删除配置
  63. db-config:
  64. id-type: auto
  65. # 删除前
  66. logic-not-delete-value: 1
  67. # 删除后
  68. logic-delete-value: 0
  69. logging:
  70. level:
  71. root: info
  72. com.example: debug
  73. edos:
  74. baseURL: http://10.0.118.73:8011/ts