application.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # 项目相关配置
  2. gyee:
  3. #实时数据库Url
  4. baseurl: http://10.0.118.73:8011/ts
  5. #实时数据库选择
  6. realtimedataBase: mongodb #数据查询模式 golden、hwy
  7. server:
  8. port: 8072
  9. servlet:
  10. context-path: /
  11. management:
  12. health:
  13. redis:
  14. enabled: false
  15. spring:
  16. main:
  17. allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
  18. autoconfigure:
  19. exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
  20. datasource:
  21. type: com.alibaba.druid.pool.DruidDataSource
  22. driver-class-name: oracle.jdbc.OracleDriver
  23. #外网
  24. url: jdbc:oracle:thin:@10.0.118.71:1521:gdsj
  25. # url: jdbc:oracle:thin:@49.4.50.80:1521:gdnxfd
  26. # url: jdbc:oracle:thin:@172.168.1.14:1521:gdnxfd
  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