Added Meilisearch package
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
From: brammp <hello@bprieshof.nl>
|
||||
Date: Sat, 22 Aug 2026 19:59:29 +0200
|
||||
Subject: [PATCH] Adjust default config
|
||||
|
||||
diff --git a/a/config.toml b/b/config.toml
|
||||
index bbd70a6..3cd188e 100644
|
||||
--- a/config.toml
|
||||
+++ b/config.toml
|
||||
@@ -3,24 +3,28 @@
|
||||
|
||||
# Designates the location where database files will be created and retrieved.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#database-path
|
||||
-db_path = "./data.ms"
|
||||
+db_path = "/var/lib/meilisearch/data.ms"
|
||||
|
||||
# Configures the instance's environment. Value must be either `production` or `development`.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#environment
|
||||
-env = "development"
|
||||
+env = "production"
|
||||
|
||||
# The address on which the HTTP server will listen.
|
||||
-http_addr = "localhost:7700"
|
||||
+http_addr = "127.0.0.1:7700"
|
||||
|
||||
# Sets the instance's master key, automatically protecting all routes except GET /health.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#master-key
|
||||
+#
|
||||
+# NOTE: If this option is not set, the init script writes a random key to file
|
||||
+# /etc/meilisearch/master_key, if it doesn't already exist, and loads it into
|
||||
+# env. variable MEILI_MASTER_KEY at each start.
|
||||
# master_key = "YOUR_MASTER_KEY_VALUE"
|
||||
|
||||
# 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://www.meilisearch.com/docs/learn/configuration/instance_options#disable-analytics
|
||||
-# no_analytics = true
|
||||
+no_analytics = true
|
||||
|
||||
# Sets the maximum size of accepted payloads.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#payload-limit-size
|
||||
@@ -45,11 +49,11 @@ log_level = "INFO"
|
||||
|
||||
# Sets the directory where Meilisearch will create dump files.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#dump-directory
|
||||
-dump_dir = "dumps/"
|
||||
+dump_dir = "/var/lib/meilisearch/dumps/"
|
||||
|
||||
# Imports the dump file located at the specified path. Path must point to a .dump file.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#import-dump
|
||||
-# import_dump = "./path/to/my/file.dump"
|
||||
+# import_dump = "/var/lib/meilisearch/dumps/file.dump"
|
||||
|
||||
# Prevents Meilisearch from throwing an error when `import_dump` does not point to a valid dump file.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#ignore-missing-dump
|
||||
@@ -72,11 +76,11 @@ schedule_snapshot = false
|
||||
|
||||
# Sets the directory where Meilisearch will store snapshots.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#snapshot-destination
|
||||
-snapshot_dir = "snapshots/"
|
||||
+snapshot_dir = "/var/lib/meilisearch/snapshots/"
|
||||
|
||||
# Launches Meilisearch after importing a previously-generated snapshot at the given filepath.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#import-snapshot
|
||||
-# import_snapshot = "./path/to/my/snapshot"
|
||||
+# import_snapshot = "/var/lib/meilisearch/snapshots/my-snapshot"
|
||||
|
||||
# Prevents a Meilisearch instance from throwing an error when `import_snapshot` does not point to a valid snapshot file.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#ignore-missing-snapshot
|
||||
@@ -93,19 +97,19 @@ ignore_snapshot_if_db_exists = false
|
||||
|
||||
# Enables client authentication in the specified path.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#ssl-authentication-path
|
||||
-# ssl_auth_path = "./path/to/root"
|
||||
+# ssl_auth_path = "/etc/meilisearch/client-ca.crt"
|
||||
|
||||
# Sets the server's SSL certificates.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#ssl-certificates-path
|
||||
-# ssl_cert_path = "./path/to/certfile"
|
||||
+# ssl_cert_path = "/etc/meilisearch/server.crt"
|
||||
|
||||
# Sets the server's SSL key files.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#ssl-key-path
|
||||
-# ssl_key_path = "./path/to/private-key"
|
||||
+# ssl_key_path = "/etc/meilisearch/server.key"
|
||||
|
||||
# Sets the server's OCSP file.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#ssl-ocsp-path
|
||||
-# ssl_ocsp_path = "./path/to/ocsp-file"
|
||||
+# ssl_ocsp_path = "/etc/meilisearch/server.ocsp"
|
||||
|
||||
# Makes SSL authentication mandatory.
|
||||
# https://www.meilisearch.com/docs/learn/configuration/instance_options#ssl-require-auth
|
||||
Reference in New Issue
Block a user