Weaviate is an open-source vector database that stores both objects and vectors, allowing for the combination of vector search with structured filtering with the fault tolerance and scalability of a cloud-native database.
{#start}
# In `perSystem.process-compose.<name>`
{
services.weaviate."weaviate1".enable = true;
}
{#tips}
{#envs}
To see list of environment variables, see this link.
{
services.weaviate."weaviate1" = {
enable = true;
environment = {
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED = true;
QUERY_DEFAULTS_LIMIT = 100;
DISABLE_TELEMETRY = true;
LIMIT_RESOURCES = true;
ENABLE_MODULES = ["text2vec-openai" "generative-openai"];
};
};
}
{#port}
{
services.weaviate."weaviate1" = {
enable = true;
port = 8080;
};
}
{#dataDir}
{
services.weaviate."weaviate1" = {
enable = true;
dataDir = "./data";
};
}