Search by

drupal / varbase_ai_vdb_milvus

Drupal-Infrastructure

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

Homepage

Issues

Type:drupal-recipe

pkg:composer/drupal/varbase_ai_vdb_milvus

Statistics

Installs: 1 027

Dependents: 1

Suggesters: 0

1.0.0-beta2 2026-10-28 23:33 UTC

This package is auto-updated.

Last update: 2026-11-08 17:09:11 UTC


README

Varbase

Varbase AI VDB: Milvus

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.

License

GPL-2.0-or-later. See LICENSE. Maintained by Vardot.