Meilisearch Server

Meilisearch is a fast, open-source search engine. Depfloy lets you provision and manage a dedicated Meilisearch server with a few clicks, with secure defaults out of the box.

Creating a Meilisearch server

  1. In the Console, click Add Server.
  2. Choose Meilisearch as the server type.
  3. Pick a provider (Hetzner) or Custom Setup for an existing machine.
  4. Set a master key, or let Depfloy generate one.
  5. Click Create Server.

Depfloy installs Meilisearch, opens port 7700 in the firewall, and configures the service to start on boot.

Connection details

The Meilisearch screen on the server view shows everything needed to connect:

ParameterDescription
HostThe public IP address of your server
Port7700 (the default Meilisearch port)
Master KeyThe API key used for authentication
API URLFull base URL for API requests, for example http://<host>:7700

Click Copy API URL to copy the full URL.

Configuration

You can view and edit the Meilisearch configuration directly from the Console. Common parameters:

ParameterDescriptionDefault
db_pathWhere Meilisearch stores its data/var/lib/meilisearch/data
http_addrAddress and port Meilisearch listens on0.0.0.0:7700
master_keyAPI keyAuto-generated
envEnvironment mode (development or production)production
max_indexing_memoryMaximum RAM for indexing operations2 Gb
log_levelVerbosity (ERROR, WARN, INFO, DEBUG, TRACE)INFO

To edit:

  1. Click Edit Configuration.
  2. Modify the parameters you need.
  3. Click Save Changes.

Master key management

The master key authenticates every API request. Treat it as a secret.

To rotate it:

  1. Click Generate New Key.
  2. Confirm the action.
  3. Update every application that uses the old key — the old key is invalidated as soon as you rotate.

The current key is hidden by default. Click View Master Key to reveal it, or Copy to copy it without displaying it on screen.

Restart and logs

Restart Meilisearch from the Restart Service button on the server view, or from the More menu in the server header. To diagnose indexing or search problems, the Logs tab on the project that uses Meilisearch shows the live service output.

Was this page helpful?