application-hwy.yml 2.1 KB

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