first commit
This commit is contained in:
33
examples/configs/withvectorstoreweaviate/config.json
Normal file
33
examples/configs/withvectorstoreweaviate/config.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "https://www.getbifrost.ai/schema",
|
||||
"config_store": {
|
||||
"enabled": true,
|
||||
"type": "sqlite",
|
||||
"config": {
|
||||
"path": ".config.db"
|
||||
}
|
||||
},
|
||||
"logs_store": {
|
||||
"enabled": true,
|
||||
"type": "sqlite",
|
||||
"config": {
|
||||
"path": ".logs.db"
|
||||
}
|
||||
},
|
||||
"vector_store": {
|
||||
"enabled": true,
|
||||
"type": "weaviate",
|
||||
"config": {
|
||||
"scheme": "http",
|
||||
"host": "localhost:9000",
|
||||
"grpc_config": {
|
||||
"host": "localhost:50051",
|
||||
"secured": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"client": {
|
||||
"enable_logging": true,
|
||||
"log_retention_days": 30
|
||||
}
|
||||
}
|
||||
23
examples/configs/withvectorstoreweaviate/docker-compose.yml
Normal file
23
examples/configs/withvectorstoreweaviate/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
weaviate:
|
||||
image: cr.weaviate.io/semitechnologies/weaviate:1.32.4
|
||||
container_name: weaviate
|
||||
ports:
|
||||
- "9000:8080"
|
||||
- "50051:50051"
|
||||
environment:
|
||||
QUERY_DEFAULTS_LIMIT: 25
|
||||
AUTHENTICATION_APIKEY_ENABLED: "false"
|
||||
PERSISTENCE_DATA_PATH: "/var/lib/weaviate"
|
||||
volumes:
|
||||
- weaviate_data:/var/lib/weaviate
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8080/v1/.well-known/ready"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
weaviate_data:
|
||||
Reference in New Issue
Block a user