Levelrail
Skip to content

Self-host Milvus with Docker ​

A cloud-native vector database built for billion-scale similarity search, run here as a single standalone node.

This page describes the Levelrail template for Milvus (Database Tools). It deploys the services below as one Docker Compose app on your own server.

Project site: https://milvus.io/docs.

Recommended memory: about 4096 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
milvusmilvusdb/milvus:v3.0.219530, 9091
milvus_data -> /var/lib/milvus

Environment variables ​

ServiceVariableValue
milvusCOMMON_STORAGETYPEPreset in the template
milvusETCD_DATA_DIRPreset in the template
milvusETCD_USE_EMBEDPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Milvus with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Milvus. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy milvus --name my-milvus

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Database Tools templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.