-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.qdrant.yml
More file actions
31 lines (28 loc) · 962 Bytes
/
Copy pathdocker-compose.qdrant.yml
File metadata and controls
31 lines (28 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: "3.9"
# docker-compose.qdrant.yml — Qdrant + Postgres companion for local development
# and testing of the `qdrant` storage backend (Phase 103).
#
# Usage:
# docker compose -f docker-compose.postgres.yml -f docker-compose.qdrant.yml up -d
# export GITSEMA_STORAGE_BACKEND=qdrant
# export GITSEMA_STORAGE_METADATA_URL=postgres://gitsema:gitsema@localhost:5433/gitsema
# export GITSEMA_STORAGE_VECTORS_URL=http://localhost:6433
#
# To run the Qdrant-gated test suite:
# export GITSEMA_TEST_POSTGRES_URL=postgres://gitsema:gitsema@localhost:5433/gitsema
# export GITSEMA_TEST_QDRANT_URL=http://localhost:6433
# pnpm test -- qdrant
services:
qdrant:
image: qdrant/qdrant:v1.13.0
ports:
- "6433:6333"
healthcheck:
test: ["CMD-SHELL", "bash -c 'exec 3<>/dev/tcp/127.0.0.1/6333'"]
interval: 5s
timeout: 5s
retries: 10
volumes:
- gitsema_qdrant:/qdrant/storage
volumes:
gitsema_qdrant: