shikeying
2022-11-14 450083f7d9d5b687c732acddefb56632f7b3d5ad
deploy-jar-template/src/main/resources/application-dev.yml
@@ -8,11 +8,11 @@
#    password: Bjjmy_63661766
    password: Bjjmy_2020
#    driver-class-name: sunje.goldilocks.jdbc.GoldilocksDriver
    url: jdbc:mysql://124.70.39.177:3306/train_recommend?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    url: jdbc:mysql://116.198.40.76:3306/train_recommend?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    type: com.walker.jdbc.ds.DefaultDataSource
    hikari:
      minimum-idle: 5
      idle-timeout: 5000
      idle-timeout: 600000
      pool-name: databasePool_walker
      connection-timeout: 10000
      connection-test-query: select 1
@@ -39,6 +39,8 @@
      springframework: error
    com:
      walker: info
      iplatform: debug
#  file: # logging.file.path 和 logging.file.name,只会有一个生效,配了path不要配name,配了name不要配path,只配path时name默认为spring.log,想路径和文件名同时生效可配置logging.file.name=d:/logs/mylog.log
#    name: ${spring.application.name}.log #日志文件名
#    path: logs  #日志存储路径
@@ -62,7 +64,7 @@
  cache:
    redis-enabled: false
  # 相似度分析模块使用
  # 相似度分析模块使用(暂时废弃)
  similarity:
    # 是否启用相似度模块,如果禁用则要确保注入时支持为空
    enabled: true
@@ -73,8 +75,47 @@
  # 调度器模块,是否启用
  scheduler:
    enabled: true
    enabled: false
  # 数据采集模块
  gather:
    enabled: true
    enabled: true
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 业务功能配置参数
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
recommend:
  video:
    # 视频采集存储根路径
    data-folder: D:/dev_tools/ai/
#    data-folder: /opt/ai/video/
    # 视频相似度AI服务URL
#    ai-service: http://121.36.40.27:12345
    ai-service: http://127.0.0.1:8801
    # 推荐相似视频(算法)前多少个
    top-n: 40
    # 测试模式,如果是则仅生成固定测试数据,正式部署需要改为 false
    test-mode: false
    #业务视频所在数据库信息
#    business-datasource-url: 116.198.40.76
    business-datasource-url: 127.0.0.1
    business-datasource-port: 3306
    business-datasource-service: train_zs
    business-datasource-authentication: root
    business-datasource-certification: Bjjmy_2020
  text:
    # 文本相似度服务URL
    ai-service: http://116.198.39.83:54321
#sftp:
#  host: 124.70.39.177
#  port: 22
#  user: mysftp
#  pass: Bjjmy_2020
#  base: /train