# Self-host Meilisearch

> A fast, typo-tolerant search engine API you can drop into any app's search bar.

- Page: https://levelrail.com/templates/meilisearch/
- JSON: https://levelrail.com/templates/meilisearch.json
- Category: Developer Tools
- Licence: MIT (Permissive license)
- Source: https://github.com/meilisearch/meilisearch
- Upstream docs: https://www.meilisearch.com/docs

## Requirements
- Memory: about 512 MiB
- amd64: published, arm64: tested
- Needs configuration before start: no
- Pinned image tag: v1.11.1

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| meilisearch | getmeili/meilisearch | v1.11.1 | 7700 | meilisearch_data -> /meili_data |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| meilisearch | MEILI_MASTER_KEY | generated |
| meilisearch | MEILI_NO_ANALYTICS | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy meilisearch --name my-meilisearch
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/meilisearch/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy Meilisearch on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id meilisearch for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image getmeili/meilisearch:v1.11.1 is what you deploy there.

Self-host Meilisearch, Meilisearch docker compose file, deploy Meilisearch on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
