Skip to content

Commit

Permalink
use postgresql instead of qdrant (tensorlakeai#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasjacks0n authored Feb 5, 2024
1 parent 3f0ff9d commit 26a8ae3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 22 deletions.
10 changes: 0 additions & 10 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,13 @@ services:
- DATABASE_URL=postgres://postgres:postgres@postgres/indexify
- INDEXIFY_DB_URL=postgres://postgres:postgres@postgres/indexify
- INDEXIFY_COORDINATOR_ADDR=localhost:8950
- INDEXIFY_INDEX_CONFIG.QDRANT_CONFIG.ADDR=http://qdrant:6334
depends_on:
- qdrant
- postgres
networks:
server:
ipv4_address: 172.21.0.2
volumes:
- data:/tmp/indexify-blob-storage
qdrant:
image: qdrant/qdrant:v1.4.1
restart: always
ports:
- 6333
networks:
server:
ipv4_address: 172.21.0.8
postgres:
image: ankane/pgvector
restart: always
Expand Down
25 changes: 13 additions & 12 deletions sample_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ blob_storage:
disk:
path: /tmp/indexify-blob-storage


#backend: s3
#s3:
# bucket: indexifydata
Expand All @@ -41,18 +40,20 @@ blob_storage:
#
# The qdrant_config parameter specifies the configuration for the Qdrant
# service.
index_config:
# Possible values: Qdrant, PgEmbedding
index_store: Qdrant
qdrant_config:
addr: "http://qdrant:6334"
# index_config:
# # Possible values: Qdrant, PgEmbedding
# index_store: Qdrant
# qdrant_config:
# addr: "http://qdrant:6334"
# # The pg_vector_config parameter specifies the configuration for the Postgres pg_embedding extension
# - index_store: PgEmbedding
# pg_vector_config:
# addr: postgres://postgres:postgres@localhost/indexify
# m: 16
# efconstruction: 64
# efsearch: 40
index_config:
# The pg_vector_config parameter specifies the configuration for the Postgres pg_embedding extension
index_store: PgVector
pg_vector_config:
addr: postgres://postgres:postgres@postgres/indexify
m: 16
efconstruction: 64
efsearch: 40

# If relative path is specified, it is relative to the project root directory
# You should replace the values with your own values
Expand Down

0 comments on commit 26a8ae3

Please sign in to comment.