mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-15 22:46:49 +00:00
@@ -72,6 +72,7 @@
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<tarLongFileMode>gnu</tarLongFileMode>
|
||||
<skipAssembly>false</skipAssembly>
|
||||
<archive>
|
||||
<manifest>
|
||||
|
||||
@@ -6,11 +6,13 @@ spring:
|
||||
enabled: true
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
schema: classpath:db/chat-schema-h2.sql
|
||||
data: classpath:db/chat-data-h2.sql
|
||||
url: jdbc:h2:mem:chat;DATABASE_TO_UPPER=false
|
||||
username: root
|
||||
password: chat
|
||||
sql:
|
||||
init:
|
||||
schema-locations: classpath:db/chat-schema-h2.sql
|
||||
data-locations: classpath:db/chat-data-h2.sql
|
||||
|
||||
server:
|
||||
port: 9082
|
||||
|
||||
@@ -2,4 +2,9 @@ spring:
|
||||
profiles:
|
||||
active: local
|
||||
application:
|
||||
name: chat
|
||||
name: chat
|
||||
main:
|
||||
allow-circular-references: true
|
||||
mvc:
|
||||
pathmatch:
|
||||
matching-strategy: ANT_PATH_MATCHER
|
||||
@@ -83,6 +83,7 @@
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<tarLongFileMode>gnu</tarLongFileMode>
|
||||
<skipAssembly>false</skipAssembly>
|
||||
<archive>
|
||||
<manifest>
|
||||
|
||||
@@ -14,8 +14,10 @@ spring:
|
||||
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
|
||||
username: root
|
||||
password: semantic
|
||||
schema: classpath:db/semantic-schema-h2.sql
|
||||
data: classpath:db/semantic-data-h2.sql
|
||||
sql:
|
||||
init:
|
||||
schema-locations: classpath:db/semantic-schema-h2.sql
|
||||
data-locations: classpath:db/semantic-data-h2.sql
|
||||
|
||||
authentication:
|
||||
enable: true
|
||||
|
||||
@@ -2,4 +2,9 @@ spring:
|
||||
profiles:
|
||||
active: local
|
||||
application:
|
||||
name: headless
|
||||
name: headless
|
||||
main:
|
||||
allow-circular-references: true
|
||||
mvc:
|
||||
pathmatch:
|
||||
matching-strategy: ANT_PATH_MATCHER
|
||||
@@ -147,6 +147,7 @@
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<tarLongFileMode>gnu</tarLongFileMode>
|
||||
<skipAssembly>false</skipAssembly>
|
||||
<archive>
|
||||
<manifest>
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
schema: classpath:db/schema-h2.sql
|
||||
data: classpath:db/data-h2.sql
|
||||
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
|
||||
username: root
|
||||
password: semantic
|
||||
sql:
|
||||
init:
|
||||
schema-locations: classpath:db/schema-h2.sql
|
||||
data-locations: classpath:db/data-h2.sql
|
||||
h2:
|
||||
console:
|
||||
path: /h2-console/semantic
|
||||
|
||||
@@ -21,6 +21,11 @@ spring:
|
||||
- spring.dev.langchain4j.azure.openai.spring.AutoConfig
|
||||
- spring.dev.langchain4j.azure.aisearch.spring.AutoConfig
|
||||
- spring.dev.langchain4j.anthropic.spring.AutoConfig
|
||||
main:
|
||||
allow-circular-references: true
|
||||
mvc:
|
||||
pathmatch:
|
||||
matching-strategy: ANT_PATH_MATCHER
|
||||
|
||||
mybatis:
|
||||
mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
schema: classpath:db/schema-h2.sql
|
||||
data: classpath:db/data-h2.sql
|
||||
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
|
||||
username: root
|
||||
password: semantic
|
||||
sql:
|
||||
init:
|
||||
schema-locations: classpath:db/schema-h2.sql
|
||||
data-locations: classpath:db/data-h2.sql
|
||||
h2:
|
||||
console:
|
||||
path: /h2-console/semantic
|
||||
|
||||
@@ -21,6 +21,11 @@ spring:
|
||||
- spring.dev.langchain4j.azure.openai.spring.AutoConfig
|
||||
- spring.dev.langchain4j.azure.aisearch.spring.AutoConfig
|
||||
- spring.dev.langchain4j.anthropic.spring.AutoConfig
|
||||
main:
|
||||
allow-circular-references: true
|
||||
mvc:
|
||||
pathmatch:
|
||||
matching-strategy: ANT_PATH_MATCHER
|
||||
|
||||
mybatis:
|
||||
mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml
|
||||
|
||||
Reference in New Issue
Block a user