diff --git a/virtual-patient-graph/src/main/resources/bootstrap-prod.yml b/virtual-patient-graph/src/main/resources/bootstrap-prod.yml new file mode 100644 index 00000000..95486c73 --- /dev/null +++ b/virtual-patient-graph/src/main/resources/bootstrap-prod.yml @@ -0,0 +1,52 @@ +spring: + datasource: + druid: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://virtual-patient-mysql:37088/virtual_patient?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8 + username: root + password: 'Yaxin0504' + redis: + host: virtual-patient-redis + port: 11379 + password: #Yaxin0504 + +nebula: + ngbatis: + use-session-pool: true + # 127.0.0.1:9669, ip:port, .... + hosts: 192.168.10.137:9669 + username: root + password: 123456 + # 注意,新建使用的时候,必须有一个库 + space: virtual_patient + # http客户端使用 + minConnSize: 5 + maxConnSize: 10 + timeout: 300000 + idleTime: 180000 + # ngbatis使用连接池配置 + pool-config: + # 连接池中最小空闲连接数 + min-conns-size: 0 + # 连接池中最大空闲连接数 + max-conns-size: 10 + # 客户端同服务端建立连接的超时时间设置,单位为 ms;超过设定时间未建立起连接,则报错 + timeout: 0 + # 连接空闲时间,为 0 表示连接永不删除,单位为 ms + idle-time: 0 + # 连接池检测空闲连接的时间间隔,为 -1 表示不进行检测 + interval-idle: -1 + # 连接等候时间,超过则不再等候连接 + wait-time: 0 + # 集群允许最小的服务可用率,1.0 表示为所有机器 graphd 可用,0.25 表示集群中 1/4 机器可用即可 + min-cluster-health-rate: 1.0 + # 是否允许 SSL 连接,目前暂不支持 + enable-ssl: false +cql: + parser: + # 更换开发者自定义的 xml 所在位置 + mapper-locations: nebulaMapper/**/*.xml # 默认为 mapper/**/*.xml +# nebula上传文件使用 +path: + uploadFilePath: /opt/project/java/graphFile + importerPath: /data1/opt \ No newline at end of file diff --git a/virtual-patient-manage/src/main/resources/application-prod.yml b/virtual-patient-manage/src/main/resources/application-prod.yml index 26d6857c..91d14cdd 100644 --- a/virtual-patient-manage/src/main/resources/application-prod.yml +++ b/virtual-patient-manage/src/main/resources/application-prod.yml @@ -25,9 +25,9 @@ spring: type: com.alibaba.druid.pool.DruidDataSource druid: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://virtual-patient-mysql:3306/virtual_patient?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://virtual-patient-mysql:37088/virtual_patient?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8 username: root - password: '123456' + password: '#Yaxin0504' initial-size: 5 # 初始化大小 min-idle: 10 # 最小连接数 max-active: 20 # 最大连接数 @@ -49,8 +49,8 @@ spring: merge-sql: false # 合并多个连接池的监控数据,默认false redis: host: virtual-patient-redis - port: 6379 - password: 123456 + port: 11379 + password: #Yaxin0504 mybatis-plus: mapper-locations: classpath*:mapper/**/*.xml @@ -58,7 +58,10 @@ mybatis-plus: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl minio: - url: http://virtual-patient-minio:9002 + url: http://virtual-patient-minio:11901 accessKey: admin - secretKey: 12345678 - bucketName: virtual-patient-bucket-prod \ No newline at end of file + secretKey: #Yaxin0504 + bucketName: virtual-patient-bucket-prod + +# 相似度匹配系统URL +qaSimilarity: virtual-patient-qa:8711 \ No newline at end of file diff --git a/virtual-patient-web/src/main/resources/application-prod.yml b/virtual-patient-web/src/main/resources/application-prod.yml index 4bce6a98..fbb6cd6b 100644 --- a/virtual-patient-web/src/main/resources/application-prod.yml +++ b/virtual-patient-web/src/main/resources/application-prod.yml @@ -24,9 +24,9 @@ spring: type: com.alibaba.druid.pool.DruidDataSource druid: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://virtual-patient-mysql:3306/virtual_patient?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://virtual-patient-mysql:37088/virtual_patient?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8 username: root - password: '123456' + password: '#Yaxin0504' initial-size: 5 # 初始化大小 min-idle: 10 # 最小连接数 max-active: 20 # 最大连接数 @@ -48,13 +48,13 @@ spring: merge-sql: false # 合并多个连接池的监控数据,默认false redis: host: virtual-patient-redis - port: 6379 - password: 123456 + port: 11379 + password: #Yaxin0504 minio: - url: http://virtual-patient-minio:9002 + url: http://virtual-patient-minio:11901 accessKey: admin - secretKey: 12345678 + secretKey: #Yaxin0504 bucketName: virtual-patient-bucket-prod @@ -68,7 +68,5 @@ paddle-speech: tts: http://virtual-patient-paddle-speech:8090/paddlespeech/tts asr: http://virtual-patient-paddle-speech:8090/paddlespeech/asr -answer: - # 对于没有匹配上的缺省回答ID,关联的是vp_file_resource的ID - defaultNoMatchId: 1739173836351885313 - defaultNoMatchAnswerMessage: 你好,医生 \ No newline at end of file +# 相似度匹配系统URL +qaSimilarity: virtual-patient-qa:8711 \ No newline at end of file