shikeying
2022-11-14 450083f7d9d5b687c732acddefb56632f7b3d5ad
deploy-jar-template/src/main/resources/application-dev.yml
@@ -3,16 +3,16 @@
    name: train_recommend
  datasource:
    # 是否显示dao中打印的SQL语句
    show-sql: false
    show-sql: true
    username: root
#    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
@@ -64,7 +64,7 @@
  cache:
    redis-enabled: false
  # 相似度分析模块使用
  # 相似度分析模块使用(暂时废弃)
  similarity:
    # 是否启用相似度模块,如果禁用则要确保注入时支持为空
    enabled: true
@@ -75,7 +75,7 @@
  # 调度器模块,是否启用
  scheduler:
    enabled: true
    enabled: false
  # 数据采集模块
  gather:
@@ -88,11 +88,34 @@
  video:
    # 视频采集存储根路径
#    data-folder: D:/dev_tools/ai/
    data-folder: /opt/ai/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://121.36.40.27:12345
    ai-service: http://127.0.0.1:8801
    # 推荐相似视频(算法)前多少个
    top-n: 40
    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