# This file shows the default configuration of Meilisearch. # All variables are defined here: https://docs.meilisearch.com/learn/configuration/instance_options.html#environment-variables db_path = "./data.ms" # Designates the location where database files will be created and retrieved. # https://docs.meilisearch.com/learn/configuration/instance_options.html#database-path env = "development" # Configures the instance's environment. Value must be either `production` or `development`. # https://docs.meilisearch.com/learn/configuration/instance_options.html#environment http_addr = "localhost:7700" # The address on which the HTTP server will listen. # master_key = "YOUR_MASTER_KEY_VALUE" # Sets the instance's master key, automatically protecting all routes except GET /health. # https://docs.meilisearch.com/learn/configuration/instance_options.html#master-key # no_analytics = true # Deactivates Meilisearch's built-in telemetry when provided. # Meilisearch automatically collects data from all instances that do not opt out using this flag. # All gathered data is used solely for the purpose of improving Meilisearch, and can be deleted at any time. # https://docs.meilisearch.com/learn/configuration/instance_options.html#disable-analytics http_payload_size_limit = "100 MB" # Sets the maximum size of accepted payloads. # https://docs.meilisearch.com/learn/configuration/instance_options.html#payload-limit-size log_level = "INFO" # Defines how much detail should be present in Meilisearch's logs. # Meilisearch currently supports five log levels, listed in order of increasing verbosity: `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE` # https://docs.meilisearch.com/learn/configuration/instance_options.html#log-level max_index_size = "100 GiB" # Sets the maximum size of the index. # https://docs.meilisearch.com/learn/configuration/instance_options.html#max-index-size max_task_db_size = "100 GiB" # Sets the maximum size of the task database. # https://docs.meilisearch.com/learn/configuration/instance_options.html#max-task-db-size # max_indexing_memory = "2 GiB" # Sets the maximum amount of RAM Meilisearch can use when indexing. # https://docs.meilisearch.com/learn/configuration/instance_options.html#max-indexing-memory # max_indexing_threads = 4 # Sets the maximum number of threads Meilisearch can use during indexing. # https://docs.meilisearch.com/learn/configuration/instance_options.html#max-indexing-threads disable_auto_batching = false # Deactivates auto-batching when provided. # https://docs.meilisearch.com/learn/configuration/instance_options.html#disable-auto-batching ############# ### DUMPS ### ############# dump_dir = "dumps/" # Sets the directory where Meilisearch will create dump files. # https://docs.meilisearch.com/learn/configuration/instance_options.html#dumps-destination # import_dump = "./path/to/my/file.dump" # Imports the dump file located at the specified path. Path must point to a .dump file. # https://docs.meilisearch.com/learn/configuration/instance_options.html#import-dump ignore_missing_dump = false # Prevents Meilisearch from throwing an error when `import_dump` does not point to a valid dump file. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ignore-missing-dump ignore_dump_if_db_exists = false # Prevents a Meilisearch instance with an existing database from throwing an error when using `import_dump`. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ignore-dump-if-db-exists ##################### ### RATE LIMITING ### ##################### rate_limiting_disable_all = false # Prevents a Meilisearch instance from performing any rate limiting. # https://docs.meilisearch.com/learn/configuration/instance_options.html#rate-limiting-disable-all rate_limiting_disable_global = false # Prevents a Meilisearch instance from performing rate limiting global to all queries. # https://docs.meilisearch.com/learn/configuration/instance_options.html#rate-limiting-disable-global rate_limiting_global_pool = 100000 # The maximum pool of search requests that can be performed before they are rejected. # # The pool starts full at the provided value, then each search request diminishes the pool by 1. # When the pool is empty the search request is rejected. # The pool is replenished by 1 depending on the cooldown period. # https://docs.meilisearch.com/learn/configuration/instance_options.html#rate-limiting-global-pool rate_limiting_global_cooldown_ns = 50000 # The amount of time, in nanoseconds, before the pool of available search requests is replenished by 1 again. # # The maximum number of available search requests is given by `rate_limiting_global_pool`. # https://docs.meilisearch.com/learn/configuration/instance_options.html#rate-limiting-global-cooldown-ns rate_limiting_disable_ip = false # Prevents a Meilisearch instance from performing rate limiting per IP address. # https://docs.meilisearch.com/learn/configuration/instance_options.html#rate-limiting-disable-ip rate_limiting_ip_pool = 200 # The maximum pool of search requests that can be performed from a specific IP before they are rejected. # # The pool starts full at the provided value, then each search request from the same IP address diminishes the pool by 1. # When the pool is empty the search request is rejected. # The pool is replenished by 1 depending on the cooldown period. # https://docs.meilisearch.com/learn/configuration/instance_options.html#rate-limiting-ip-pool rate_limiting_ip_cooldown_ns = 50000000 # The amount of time, in nanoseconds, before the pool of available search requests for a specific IP address is replenished by 1 again. # # The maximum number of available search requests for a specific IP address is given by `rate_limiting_ip_pool`. # https://docs.meilisearch.com/learn/configuration/instance_options.html#rate-limiting-ip-cooldown-ns rate_limiting_disable_api_key = false # Prevents a Meilisearch instance from performing rate limiting per API key. # https://docs.meilisearch.com/learn/configuration/instance_options.html#rate-limiting-disable-api-key rate_limiting_api_key_pool = 10000 # The maximum pool of search requests that can be performed using a specific API key before they are rejected. # # The pool starts full at the provided value, then each search request using the same API key diminishes the pool by 1. # When the pool is empty the search request is rejected. # The pool is replenished by 1 depending on the cooldown period. # https://docs.meilisearch.com/learn/configuration/instance_options.html#rate-limiting-api-key-pool rate_limiting_api_key_cooldown_ns = 500000 # The amount of time, in nanoseconds, before the pool of available search requests using a specific API key is replenished by 1 again. # # The maximum number of available search requests using a specific API key is given by `rate_limiting_api_key_pool`. # https://docs.meilisearch.com/learn/configuration/instance_options.html#rate-limiting-api-key-cooldown-ns ################# ### SNAPSHOTS ### ################# schedule_snapshot = false # Activates scheduled snapshots when provided. # https://docs.meilisearch.com/learn/configuration/instance_options.html#schedule-snapshot-creation snapshot_dir = "snapshots/" # Sets the directory where Meilisearch will store snapshots. # https://docs.meilisearch.com/learn/configuration/instance_options.html#snapshot-destination snapshot_interval_sec = 86400 # Defines the interval between each snapshot. Value must be given in seconds. # https://docs.meilisearch.com/learn/configuration/instance_options.html#snapshot-interval # import_snapshot = "./path/to/my/snapshot" # Launches Meilisearch after importing a previously-generated snapshot at the given filepath. # https://docs.meilisearch.com/learn/configuration/instance_options.html#import-snapshot ignore_missing_snapshot = false # Prevents a Meilisearch instance from throwing an error when `import_snapshot` does not point to a valid snapshot file. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ignore-missing-snapshot ignore_snapshot_if_db_exists = false # Prevents a Meilisearch instance with an existing database from throwing an error when using `import_snapshot`. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ignore-snapshot-if-db-exists ########### ### SSL ### ########### # ssl_auth_path = "./path/to/root" # Enables client authentication in the specified path. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ssl-authentication-path # ssl_cert_path = "./path/to/certfile" # Sets the server's SSL certificates. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ssl-certificates-path # ssl_key_path = "./path/to/private-key" # Sets the server's SSL key files. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ssl-key-path # ssl_ocsp_path = "./path/to/ocsp-file" # Sets the server's OCSP file. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ssl-ocsp-path ssl_require_auth = false # Makes SSL authentication mandatory. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ssl-require-auth ssl_resumption = false # Activates SSL session resumption. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ssl-resumption ssl_tickets = false # Activates SSL tickets. # https://docs.meilisearch.com/learn/configuration/instance_options.html#ssl-tickets