From f92600ec2835c9ad48b5f20d2ca18cf25931ff44 Mon Sep 17 00:00:00 2001 From: shikeying <shikeying@163.com> Date: 星期四, 27 十月 2022 18:54:44 +0800 Subject: [PATCH] 添加测试配置部署 --- deploy-jar-template/src/main/resources/application-dev.yml | 25 ++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 deletions(-) diff --git a/deploy-jar-template/src/main/resources/application-dev.yml b/deploy-jar-template/src/main/resources/application-dev.yml index 4118ba0..cca4d14 100644 --- a/deploy-jar-template/src/main/resources/application-dev.yml +++ b/deploy-jar-template/src/main/resources/application-dev.yml @@ -3,12 +3,12 @@ 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 @@ -64,7 +64,7 @@ cache: redis-enabled: false - # 鐩镐技搴﹀垎鏋愭ā鍧椾娇鐢� + # 鐩镐技搴﹀垎鏋愭ā鍧椾娇鐢紙鏆傛椂搴熷純锛� similarity: # 鏄惁鍚敤鐩镐技搴︽ā鍧楋紝濡傛灉绂佺敤鍒欒纭繚娉ㄥ叆鏃舵敮鎸佷负绌� enabled: true @@ -92,10 +92,25 @@ # data-folder: /opt/ai/video/ # 瑙嗛鐩镐技搴I鏈嶅姟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 # 娴嬭瘯妯″紡锛屽鏋滄槸鍒欎粎鐢熸垚鍥哄畾娴嬭瘯鏁版嵁锛屾寮忛儴缃查渶瑕佹敼涓� false - test-mode: true + test-mode: false + + #涓氬姟瑙嗛鎵�鍦ㄦ暟鎹簱淇℃伅 + business-datasource-url: 116.198.40.76 + business-datasource-port: 3306 + business-datasource-service: train_zs + business-datasource-authentication: root + business-datasource-certification: Bjjmy_2020 + +#sftp: +# host: 124.70.39.177 +# port: 22 +# user: mysftp +# pass: Bjjmy_2020 +# base: /train -- Gitblit v1.9.1