mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-22 06:44:18 +08:00
(improvement)(project)Introduce aibi-env.sh script to simplify user settings.
(improvement)(project)Introduce aibi-env.sh script to simplify user settings.
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
url: jdbc:postgresql://${S2_DB_HOST:localhost}:${S2_DB_PORT:5432}/${S2_DB_DATABASE:postgres}?stringtype=unspecified
|
url: jdbc:postgresql://localhost:5432/postgres?stringtype=unspecified
|
||||||
username: ${S2_DB_USER:postgres}
|
username: postgres
|
||||||
password: ${S2_DB_PASSWORD:postgres}
|
password: postgres
|
||||||
sql:
|
sql:
|
||||||
init:
|
init:
|
||||||
mode: always
|
mode: always
|
||||||
username: ${S2_DB_USER:postgres}
|
username: postgres
|
||||||
password: ${S2_DB_PASSWORD:postgres}
|
password: postgres
|
||||||
schema-locations: classpath:db/schema-postgres.sql,classpath:db/schema-postgres-demo.sql
|
schema-locations: classpath:db/schema-postgres.sql,classpath:db/schema-postgres-demo.sql
|
||||||
data-locations: classpath:db/data-postgres.sql,classpath:db/data-postgres-demo.sql
|
data-locations: classpath:db/data-postgres.sql,classpath:db/data-postgres-demo.sql
|
||||||
|
|
||||||
@@ -17,9 +17,9 @@ s2:
|
|||||||
store:
|
store:
|
||||||
provider: PGVECTOR
|
provider: PGVECTOR
|
||||||
base:
|
base:
|
||||||
url: ${S2_DB_HOST:127.0.0.1}
|
url: 127.0.0.1
|
||||||
port: ${S2_DB_PORT:5432}
|
port: 5432
|
||||||
databaseName: ${S2_DB_DATABASE:postgres}
|
databaseName: postgres
|
||||||
user: ${S2_DB_USER:postgres}
|
user: postgres
|
||||||
password: ${S2_DB_PASSWORD:postgres}
|
password: postgres
|
||||||
dimension: 512
|
dimension: 512
|
||||||
Reference in New Issue
Block a user