envs

Meilisearch — self-hosted instance

meilisearch/server · version 1

envs add meilisearch/server

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
MEILI_MASTER_KEY required secret Set at server start; every other key derives from it. Meilisearch says it must be at least sixteen bytes of valid UTF-8, which is the only shape declared here. It administers the instance, so never search with it.. Shape ^.{16,}$. where to get it
MEILI_SEARCH_KEY optional config The default search key, which Meilisearch says to use to search from the frontend. Read from the instance's own keys endpoint rather than set by you. The name is convention.. where to get it
MEILI_ADMIN_KEY optional secret Writes to indexes. Meilisearch says not to expose admin keys on a public frontend. The name is convention.. where to get it

The JSON the CLI reads