Skip to content

Meilisearch

services.meilisearch.enable

Whether to enable MeiliSearch - a RESTful search API. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix

services.meilisearch.environment

Defines the running environment of MeiliSearch. Type: one of "development", "production"

Default

"development"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix

services.meilisearch.listenAddress

MeiliSearch listen address. Type: string

Default

"127.0.0.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix

services.meilisearch.listenPort

MeiliSearch port to listen on. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

7700

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix

services.meilisearch.logLevel

Defines how much detail should be present in MeiliSearch's logs. MeiliSearch currently supports four log levels, listed in order of increasing verbosity: - 'ERROR': only log unexpected events indicating MeiliSearch is not functioning as expected - 'WARN:' log all unexpected events, regardless of their severity - 'INFO:' log all events. This is the default value - 'DEBUG': log all events and including detailed information on MeiliSearch's internal processes. Useful when diagnosing issues and debugging

Type: string

Default

"INFO"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix

services.meilisearch.masterKeyEnvironmentFile

Path to file which contains the master key. By doing so, all routes will be protected and will require a key to be accessed. If no master key is provided, all routes can be accessed without requiring any key. The format is the following: MEILI_MASTER_KEY=my_secret_key

Type: null or path

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix

services.meilisearch.maxIndexSize

Sets the maximum size of the index. Value must be given in bytes or explicitly stating a base unit. For example, the default value can be written as 107374182400, '107.7Gb', or '107374 Mb'. Default is 100 GiB

Type: string

Default

"107374182400"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix

services.meilisearch.noAnalytics

Deactivates analytics. Analytics allow MeiliSearch to know how many users are using MeiliSearch, which versions and which platforms are used. This process is entirely anonymous.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix

services.meilisearch.package

The meilisearch package to use. Use this if you require specific features to be enabled. The default package has no features.

Type: package

Default

pkgs.meilisearch

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix

services.meilisearch.payloadSizeLimit

Sets the maximum size of accepted JSON payloads. Value must be given in bytes or explicitly stating a base unit. For example, the default value can be written as 107374182400, '107.7Gb', or '107374 Mb'. Default is ~ 100 MB

Type: string

Default

"104857600"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix