drupal / varbase_ai_vdb_milvus
Connects a Varbase site to a Milvus or Zilliz Cloud vector database for AI Search, inside the same DDEV project or on a remote server. Experimental: the Milvus VDB provider has no stable release. No custom PHP or shell code.
Package info
git.drupalcode.org/project/varbase_ai_vdb_milvus.git
Type:drupal-recipe
pkg:composer/drupal/varbase_ai_vdb_milvus
Requires
- drupal/ai: ^1.4
- drupal/ai_vdb_provider_milvus: ^1.1@beta
- drupal/core: ^11.4
- drupal/key: ^1.18
- drupal/search_api: ^1.40
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-08 17:09:11 UTC
README
Varbase AI VDB: Milvus
A Drupal recipe that connects a Varbase 11 site to a Milvus vector database for AI Search. Milvus can run locally inside the same DDEV project, or remotely on Zilliz Cloud or on a server of your own. The recipe is the same for all three. Only three values change.
Documentation
Read the Varbase AI VDB: Milvus documentation on the Varbase docs site.
Install and apply
Locally, inside the same DDEV project:
# 1. Fetch the recipe.
ddev composer config --json extra.drupal-recipe-unpack.ignore '["drupal/varbase_ai_vdb_milvus"]'
ddev composer require drupal/varbase_ai_vdb_milvus:~1
# 2. Add Milvus to DDEV: one container, Milvus standalone with embedded etcd and local storage, no host port.
cp recipes/varbase_ai_vdb_milvus/ddev/docker-compose.milvus.yaml .ddev/
ddev restart
# 3. Apply it. Rebuild caches before and after: Drupal does not see the new modules or their plugins until it does.
ddev drush cr
ddev drush recipe ../recipes/varbase_ai_vdb_milvus
ddev drush cr
# 4. Make it the site's default vector database, which Varbase AI Search reads.
ddev drush cset ai.settings default_vdb_provider milvus -y
The ignore line keeps the recipe a locked
package: without it core's recipe-unpack plugin moves its requirements into the project's composer.json and
drops the recipe itself. Re-applying the recipe is safe.
The recipe points the provider at http://milvus on port 19530, the DDEV service, with no token. That Milvus has
authorization switched off, so keep the container on the project's private DDEV network and never publish its
ports.
Automated testing
GitLab CI on git.drupalcode.org (.gitlab-ci.yml) builds
a Varbase 11 site, applies this recipe twice and runs the Varbase functional testing suite in tests/ on it. See
tests/README.md to run it against a site of your own.
