(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:
jerryjzhang
2025-02-17 13:07:43 +08:00
committed by wua.ming
parent 9aa305ca7a
commit c8abea9c1a

View File

@@ -1,14 +1,14 @@
spring:
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://${S2_DB_HOST:localhost}:${S2_DB_PORT:5432}/${S2_DB_DATABASE:postgres}?stringtype=unspecified
username: ${S2_DB_USER:postgres}
password: ${S2_DB_PASSWORD:postgres}
url: jdbc:postgresql://localhost:5432/postgres?stringtype=unspecified
username: postgres
password: postgres
sql:
init:
mode: always
username: ${S2_DB_USER:postgres}
password: ${S2_DB_PASSWORD:postgres}
username: postgres
password: postgres
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
@@ -17,9 +17,9 @@ s2:
store:
provider: PGVECTOR
base:
url: ${S2_DB_HOST:127.0.0.1}
port: ${S2_DB_PORT:5432}
databaseName: ${S2_DB_DATABASE:postgres}
user: ${S2_DB_USER:postgres}
password: ${S2_DB_PASSWORD:postgres}
url: 127.0.0.1
port: 5432
databaseName: postgres
user: postgres
password: postgres
dimension: 512