mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
improve embedding index docs and setup
This commit is contained in:
parent
f6cd3c0e38
commit
fc4a9843a3
3 changed files with 29 additions and 1 deletions
|
|
@ -113,6 +113,9 @@ services:
|
|||
dockerfile: scripts.Dockerfile
|
||||
command: ["sh", "-c", "npm run setupQdrant"]
|
||||
profiles: [ "setup_qdrant" ]
|
||||
depends_on:
|
||||
qdrant:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- QDRANT_URL=http://qdrant:6333
|
||||
- QDRANT_API_KEY=${QDRANT_API_KEY}
|
||||
|
|
@ -125,6 +128,9 @@ services:
|
|||
dockerfile: scripts.Dockerfile
|
||||
command: ["sh", "-c", "npm run deleteQdrant"]
|
||||
profiles: [ "delete_qdrant" ]
|
||||
depends_on:
|
||||
qdrant:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- QDRANT_URL=http://qdrant:6333
|
||||
- QDRANT_API_KEY=${QDRANT_API_KEY}
|
||||
|
|
@ -240,7 +246,9 @@ services:
|
|||
# restart: unless-stopped
|
||||
|
||||
qdrant:
|
||||
image: qdrant/qdrant
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.qdrant
|
||||
ports:
|
||||
- "6333:6333"
|
||||
environment:
|
||||
|
|
@ -249,3 +257,8 @@ services:
|
|||
profiles: [ "qdrant" ]
|
||||
volumes:
|
||||
- ./data/qdrant:/data/qdrant
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:6333/healthz"]
|
||||
interval: 5s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue