You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

common-biz.yaml 3.3 kB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. #配置数据源
  2. spring:
  3. # 邮箱配置
  4. mail:
  5. host: smtp.163.com
  6. # 邮件的发送者 163邮箱(开发测试时使用 发送延时 20秒,每天发送量限制 50)
  7. username: dubhe_ai@163.com
  8. # SMTP授权密码
  9. password: DOZXSADOUDXWGVUW
  10. protocol: smtp
  11. properties.mail.smtp.auth: true
  12. properties.mail.smtp.port: 465 #465或者994
  13. properties.mail.smtp.starttls.enable: true
  14. properties.mail.smtp.starttls.required: true
  15. properties.mail.smtp.ssl.enable: true
  16. default-encoding: utf-8
  17. redis:
  18. #数据库索引
  19. database: 4
  20. host: 10.5.26.88
  21. port: 6379
  22. password:
  23. #连接超时时间
  24. timeout: 5000
  25. datasource:
  26. druid:
  27. db-type: com.alibaba.druid.pool.DruidDataSource
  28. driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
  29. url: jdbc:log4jdbc:mysql://127.0.0.1/dubhe-cloud-test?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&useInformationSchema=true
  30. username: test
  31. password: zj12345678
  32. # 初始化配置
  33. initial-size: 3
  34. # 最小连接数
  35. min-idle: 3
  36. # 最大连接数
  37. max-active: 15
  38. # 获取连接超时时间
  39. max-wait: 5000
  40. # 连接有效性检测时间
  41. time-between-eviction-runs-millis: 90000
  42. # 最大空闲时间
  43. min-evictable-idle-time-millis: 1800000
  44. test-while-idle: true
  45. test-on-borrow: false
  46. test-on-return: false
  47. validation-query: select 1
  48. # 配置监控统计拦截的filters
  49. filters: stat
  50. stat-view-servlet:
  51. url-pattern: /druid/*
  52. reset-enable: false
  53. web-stat-filter:
  54. url-pattern: /*
  55. exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
  56. # 配置允许后面的Bean覆盖前面名称重复的Bean
  57. main:
  58. allow-bean-definition-overriding: true
  59. #logback
  60. logging.config:
  61. classpath:logback.xml
  62. # 文件存储服务配置
  63. storage:
  64. # 文件存储服务暴露的IP地址 如需测试需修改为合适的地址
  65. file-store: 10.5.26.234
  66. # 文件存储服务端 共享目录
  67. file-store-root-path: /nfs/
  68. file-store-root-windows-path: "Z:"
  69. # minio配置
  70. minio:
  71. url: http://10.5.26.90:9000/
  72. accessKey: admin
  73. secretKey: 123@abc.com
  74. bucketName: dubhe-cloud-test
  75. presignedUrlExpiryTime: 300
  76. annotation: /annotation/
  77. minioweb:
  78. GetToken:
  79. url: minio/webrpc
  80. param:
  81. id: 2
  82. jsonrpc: 2.0
  83. method: Web.Login
  84. zip:
  85. url: minio/zip?token=
  86. #是否开启 swagger-ui
  87. swagger:
  88. enabled: true
  89. # 配置slq打印日志
  90. logging:
  91. level:
  92. com:
  93. lawt:
  94. repository:
  95. mapper: debug
  96. #jwt
  97. jwt:
  98. # 在线用户key
  99. online-key: online-token
  100. # data模块配置
  101. data:
  102. server:
  103. # 文件存储服务器用户名
  104. userName: root
  105. feign:
  106. # 开启httpclient
  107. httpclient:
  108. enabled: true
  109. okhttp:
  110. enabled: false
  111. #配置dev环境单元测试用户名与密码
  112. unittest:
  113. username: admin
  114. password: admin
  115. model:
  116. measuring:
  117. url:
  118. package: http://10.5.26.90:32760/model_measure/package
  119. json: http://10.5.26.90:32760/model_measure/measure
  120. converter:
  121. url: http://10.5.26.90:32230/model_convert
  122. user:
  123. config:
  124. notebook-delay-delete-time: 8
  125. cpu-limit: 10
  126. memory-limit: 32
  127. gpu-limit: 2

一站式算法开发平台、高性能分布式深度学习框架、先进算法模型库、视觉模型炼知平台、数据可视化分析平台等一系列平台及工具,在模型高效分布式训练、数据处理和可视分析、模型炼知和轻量化等技术上形成独特优势,目前已在产学研等各领域近千家单位及个人提供AI应用赋能