Levelrail
Skip to content

Self-host Weaviate with Docker ​

An open-source vector database with hybrid search, built-in modules, and a GraphQL and REST API.

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

Project site: https://weaviate.io/developers/weaviate.

Recommended memory: about 1024 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
weaviatesemitechnologies/weaviate:1.39.68080
weaviate_data -> /var/lib/weaviate

Environment variables ​

ServiceVariableValue
weaviateAUTHENTICATION_ANONYMOUS_ACCESS_ENABLEDPreset in the template
weaviateAUTHENTICATION_APIKEY_ALLOWED_KEYSGenerated at deploy
weaviateAUTHENTICATION_APIKEY_ENABLEDPreset in the template
weaviateAUTHENTICATION_APIKEY_USERSPreset in the template
weaviateCLUSTER_HOSTNAMEPreset in the template
weaviateDEFAULT_VECTORIZER_MODULEPreset in the template
weaviatePERSISTENCE_DATA_PATHPreset in the template
weaviateQUERY_DEFAULTS_LIMITPreset 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 Weaviate with Levelrail ​

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

With the CLI:

levelrail-cli templates deploy weaviate --name my-weaviate

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.