Master key In production, a Master key of at least 16 bytes is mandatory
Sets the instance's master key, automatically protecting all routes except GET /health. This means you will need a valid API key to access all other endpoints. | MEILI_MASTER_KEY | none | nullable|string|max:64 |
Environment Configures the instance's environment. Value must be either production or development. | MEILI_ENV | development | required|string|in:development,production |
Disable analytics Deactivates Meilisearch's built-in telemetry when provided. | NO_ANALYTICS | 0 | required|boolean |
Dumps dir Sets the directory where Meilisearch will create dump files. | MEILI_DUMP_DIR | /home/container/dumps | required|string|max:64 |
DB PATH Designates the location where database files will be created and retrieved. | MEILI_DB_PATH | /home/container/data.ms | required|string|max:64 |
Log level Defines how much detail should be present in Meilisearch's logs. | MEILI_LOG_LEVEL | INFO | required|string|in:INFO,WARN,ERROR,TRACE |
Config Path Designates the location of the configuration file to load at launch. | MEILI_CONFIG_FILE_PATH | /home/container/config.toml | required|string |
Max threads Sets the maximum number of threads Meilisearch can use during indexing | MEILI_MAX_INDEXING_THREADS | 2 | required|integer |