diff --git a/pom.xml b/pom.xml index 198ec07..06252be 100644 --- a/pom.xml +++ b/pom.xml @@ -231,6 +231,13 @@ + + org.apache.maven.plugins + maven-surefire-plugin + + true + + diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 0ad4095..01aec19 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -4,9 +4,9 @@ spring: ai: # 文档地址 https://docs.spring.io/spring-ai/reference/1.0-SNAPSHOT/api/chat/ollama-chat.html ollama: -# base-url: http://113.128.242.110:11434 + base-url: http://113.128.242.110:11434 # base-url: http://112.81.86.50:11434 - base-url: http://192.168.10.70:11434 +# base-url: http://192.168.10.70:11434 chat: enabled: true options: @@ -26,10 +26,10 @@ spring: type: com.alibaba.druid.pool.DruidDataSource druid: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://192.168.10.137:3306/nx_llm?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8 - #url: jdbc:mysql://113.128.242.110:3306/nx_llm?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8 +# url: jdbc:mysql://192.168.10.137:3306/nx_llm?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://192.168.1.101:42415/nx_llm?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8 username: root - password: '123456' + password: 'llm@984573~!eda' initial-size: 5 # 初始化大小 min-idle: 10 # 最小连接数 max-active: 20 # 最大连接数 @@ -56,15 +56,15 @@ spring: neo4j: database: neo4j neo4j: - uri: bolt://192.168.10.137:7687 + uri: bolt://192.168.1.101:42418 authentication: username: neo4j - password: 123456 + password: llm@984573~!eda minio: - endpoint: http:192.168.10.137:9002 + endpoint: http:192.168.1.101:42417 accessKey: admin - secretKey: 12345678 + secretKey: llm@984573~!eda bucketName: nxfuhsi logging: @@ -72,10 +72,10 @@ logging: org.springframework.ai: TRACE langChain-chat: - url: http://113.128.242.110:7861 + url: http://192.168.1.101:7861 ocr: - url: http://192.168.10.137:8866/ + url: http://192.168.1.101:8866/ pool: max-size: 20 @@ -84,7 +84,7 @@ xxl: admin: username: admin password: 123456 - addresses: http://192.168.10.137:8080/xxl-job-admin + addresses: http://192.168.1.101:8081/xxl-job-admin accessToken: default_token executor: address: