removed docker compose dependency and added dedicated pgvector db
This commit is contained in:
@@ -33,9 +33,7 @@ dependencies {
|
||||
implementation("org.springframework.ai:spring-ai-starter-model-openai")
|
||||
compileOnly("org.projectlombok:lombok")
|
||||
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
||||
// developmentOnly("org.springframework.boot:spring-boot-docker-compose")
|
||||
runtimeOnly("org.postgresql:postgresql")
|
||||
// developmentOnly("org.springframework.ai:spring-ai-spring-boot-docker-compose")
|
||||
annotationProcessor("org.projectlombok:lombok")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-data-jpa-test")
|
||||
// testImplementation("org.springframework.boot:spring-boot-starter-security-test")
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
services:
|
||||
postgres:
|
||||
image: 'postgres:latest'
|
||||
vaessl-db:
|
||||
image: 'pgvector/pgvector:pg18'
|
||||
environment:
|
||||
- 'POSTGRES_DB=mydatabase'
|
||||
- 'POSTGRES_PASSWORD=secret'
|
||||
- 'POSTGRES_USER=myuser'
|
||||
- 'POSTGRES_DB=vaessl'
|
||||
- 'POSTGRES_PASSWORD=password'
|
||||
- 'POSTGRES_USER=user'
|
||||
ports:
|
||||
- '5432'
|
||||
labels:
|
||||
- "org.springframework.boot.service-connection=postgres"
|
||||
|
||||
Reference in New Issue
Block a user