forked from tensorlakeai/indexify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
local_server_config.yaml
98 lines (81 loc) · 2.77 KB
/
local_server_config.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Address on which the server listens
listen_if: 0.0.0.0
listen_port: 8900
# Database URL for storing document and memory
db_url: postgres://postgres:postgres@localhost/indexify
# Address on which the coordinator is available for the API server
# to query for executors
coordinator_addr: 0.0.0.0:8950
## Address on which the coordinator starts the raft server
raft_port: 8970
# Blob storage configuration for the service. It is used for storing
# raw data such as PDF, Images and Videos.
blob_storage:
# The backend of the blob storage. Currently, only local file system
# and S3 are supported.
# Possible values - disk and s3
backend: disk
# Path to the directory where the blob storage will store the data.
disk:
path: /tmp/indexify-blob-storage
#backend: s3
#s3:
# bucket: indexifydata
# region: us-east-1
# Vector index configuration for the service. The index_store parameter
# specifies the type of index to use. Currently, only Qdrant is supported.
#
# The db_url parameter specifies the database url used for persistence of
# metadata related to the indexed vectors and documents.
#
# The qdrant_config parameter specifies the configuration for the Qdrant
# service.
# index_config:
# index_store: Qdrant
# qdrant_config:
# addr: "http://127.0.0.1:6334"
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@localhost/indexify
m: 16
efconstruction: 64
efsearch: 40
# TLS configuration for the service. If this is not specified, the service will
# run in HTTP mode.
# For local development, run `make dev-test-tls-insecure` to generate the
# required certificates and keys.
tls:
api: false
ca_file: .dev-tls/ca.crt # Path to the CA certificate
cert_file: .dev-tls/server.crt # Path to the server certificate
key_file: .dev-tls/server.key # Path to the server private key
coordinator_tls:
api: false
ca_file: .dev-tls/ca.crt
cert_file: .dev-tls/server.crt
key_file: .dev-tls/server.key
coordinator_client_tls:
api: false
ca_file: .dev-tls/ca.crt
cert_file: .dev-tls/client.crt
key_file: .dev-tls/client.key
seed_node: localhost:8970
node_id: 0
# Cache configuration. It is used for caching the results
# of queries to the vector index.
cache:
# Possible values - redis, memory, none
# Disabled by default to prevent unexpected behavior in local development
backend: none
redis:
addr: redis://localhost:6379
memory:
max_size: 1000000
# provide a path to storing indexify's internal state (this includes the database + blob store for state machine)
state_store:
path: /tmp/indexify-state
metadata_storage:
metadata_store: sqlite
conn_url: /tmp/indexify-metadata-index.db