> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levelrail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-host Weaviate with Docker

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

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](https://weaviate.io/developers/weaviate).

Recommended memory: about 1024 MiB.

## Services, ports and volumes

| Service | Image | Container ports | Volumes |
| - | - | - | - |
| `weaviate` | `semitechnologies/weaviate:1.39.6` | 8080 | `weaviate_data -&#62; /var/lib/weaviate` |

## Environment variables

| Service | Variable | Value |
| - | - | - |
| `weaviate` | `AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED` | Preset in the template |
| `weaviate` | `AUTHENTICATION_APIKEY_ALLOWED_KEYS` | Generated at deploy |
| `weaviate` | `AUTHENTICATION_APIKEY_ENABLED` | Preset in the template |
| `weaviate` | `AUTHENTICATION_APIKEY_USERS` | Preset in the template |
| `weaviate` | `CLUSTER_HOSTNAME` | Preset in the template |
| `weaviate` | `DEFAULT_VECTORIZER_MODULE` | Preset in the template |
| `weaviate` | `PERSISTENCE_DATA_PATH` | Preset in the template |
| `weaviate` | `QUERY_DEFAULTS_LIMIT` | Preset 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:

```bash theme={"dark"}
levelrail-cli templates deploy weaviate --name my-weaviate
```

See the [service template catalog](/templates-and-registry) for how templates work, and [Getting started](/getting-started) if you have not installed Levelrail yet.

## More Database Tools templates

* [Adminer](/self-host/adminer)
* [Baserow](/self-host/baserow)
* [Bytebase](/self-host/bytebase)
* [Chroma](/self-host/chroma)
* [ClickHouse](/self-host/clickhouse)

All templates are listed in the [self-host gallery](/self-host).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.