[{"data":1,"prerenderedAt":117},["ShallowReactive",2],{"seo-verification":3,"blog-heberger-meilisearch-vps-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"id":7,"slug":8,"title":9,"excerpt":10,"readTime":11,"views":12,"isPinned":13,"publishedAt":14,"category":15,"categories":20,"featuredImage":22,"bgImage":23,"posterImage":24,"relatedSolution":25,"intro":27,"sections":28,"ctaTitle":71,"ctaBody":72,"ctaButton":73,"ctaUrl":74,"relatedPosts":75},67,"heberger-meilisearch-vps","Hosting Meilisearch on a VPS","Host Meilisearch on your VPS: an instant, fault-tolerant and typo-tolerant search engine. A Docker, master key and SSL guide.",6,279,false,"2026-04-14T00:00:00+00:00",{"id":11,"name":16,"slug":17,"color":18,"icon":19},"Databases","bases-de-donnees","bg-teal-500\u002F10 text-teal-400","database",[21],{"id":11,"name":16,"slug":17,"color":18,"icon":19},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fheberger-meilisearch-vps-poster.svg",{"categorySlug":17,"appSlug":26},"meilisearch","Meilisearch is an ultra-fast open-source search engine, written in Rust, that returns relevant results in under 50 milliseconds with typo tolerance and instant search. Lightweight and simple to operate, it self-hosts ideally on a VPS to power the search of your site or application. Here is how to deploy it with Docker, the master key and an SSL certificate.",[29,33,43,46,68],{"type":30,"title":31,"body":32},"h2","Why self-host Meilisearch on a VPS","Meilisearch offers a \"search-as-you-type\" experience comparable to commercial solutions, but under an open-source licence and with minimal configuration: no esoteric analyzer tuning, sensible defaults, and a clear API. Self-hosting it on a VPS spares you the per-document and per-search billing of managed services like Algolia, while keeping your indexes and your product data on your own infrastructure. It is a particularly cost-effective choice for an e-commerce site, a blog or documentation: a single modest VPS serves hundreds of thousands of searches per day with very low latency. You control the API keys, the filterable attributes and relevance, and you can reindex at will with no quota constraints.",{"type":34,"title":35,"items":36},"ul","The concrete benefits of self-hosting Meilisearch",[37,38,39,40,41,42],"Instant search under 50 ms with typo tolerance enabled by default.","Minimal configuration: sensible relevance settings out of the box, up and running in a few minutes.","Built-in filtering, facets, sorting and highlighting to build a complete search UI.","Written in Rust: a reasonable memory footprint and high throughput even on a small VPS.","A simple API with SDKs for most languages and ready-to-use front-end integrations.","No cost per indexed document or per query, unlike managed search engines.",{"type":30,"title":44,"body":45},"Hardware and software prerequisites","Meilisearch is frugal but loads part of its indexes into memory to stay fast. For an index of a few tens of thousands of documents, 1 to 2 GB of RAM is enough; for hundreds of thousands of documents with many filterable attributes, aim for 2 to 4 GB. The indexing phase is the most demanding on RAM and CPU, so allow some headroom for reindexing. One to two vCPUs are fine, and 20 to 40 GB of SSD covers the index and its snapshots. You will need Docker, a domain if you expose the API publicly, and a `MEILI_MASTER_KEY` without fail: without it, in production mode, the instance refuses to start to protect you from open access.",{"type":47,"title":48,"steps":49},"steps","Deploy Meilisearch step by step",[50,53,56,59,62,65],{"title":51,"body":52},"Provision the VPS and Docker","Install Docker and configure the firewall to open only 80 and 443. Create a DNS A record for `recherche.mydomain.com` pointing to the VPS IP.",{"title":54,"body":55},"Launch Meilisearch in production mode","Use the `getmeili\u002Fmeilisearch` image. Set `MEILI_ENV=production` and `MEILI_MASTER_KEY` with a strong key (`openssl rand -base64 32`). Mount a volume on `\u002Fmeili_data` to persist the indexes: `volumes: - .\u002Fmeili_data:\u002Fmeili_data`.",{"title":57,"body":58},"Manage the API keys","From the master key, generate scoped keys: a search key to expose on the front-end, and an admin key on the server side for indexing. Never expose the master key in the browser.",{"title":60,"body":61},"Configure the reverse proxy and TLS","Place Caddy in front of port `7700`: `recherche.mydomain.com { reverse_proxy localhost:7700 }`. Caddy obtains the Let's Encrypt certificate automatically and encrypts all search traffic.",{"title":63,"body":64},"Index your data and tune relevance","Push your documents via the API or an SDK, then define the `searchableAttributes`, `filterableAttributes` and `sortableAttributes` as well as the `rankingRules` suited to your use case (e-commerce, docs, blog).",{"title":66,"body":67},"Enable snapshots and backup","Configure Meilisearch's regular snapshots or dumps and copy them to remote storage. In the event of an incident, a dump lets you rebuild the instance with its indexes and settings.",{"type":69,"body":70},"tip","Keep the list of `filterableAttributes` to the strict minimum: each filterable attribute increases the index size and the indexing time. For a responsive search UI, connect the front-end directly to Meilisearch with a scoped \"search\" key (limited to certain indexes) rather than relaying every request through your backend, which removes a round trip and reduces perceived latency. During a bulk reindex, monitor the task via the `\u002Ftasks` API rather than blocking while you wait.","Power your search with Meilisearch","The ServOrbit Cloud VPS provides the Docker environment, the fixed IP and the NVMe disks to host Meilisearch and offer instant search to your visitors, with SSL and API keys under control.","Deploy on Cloud VPS","\u002Fvps-cloud",[76,90,104],{"id":77,"slug":78,"title":79,"excerpt":80,"readTime":81,"views":82,"isPinned":13,"publishedAt":83,"category":84,"categories":85,"featuredImage":22,"bgImage":23,"posterImage":87,"relatedSolution":88},56,"heberger-postgresql-vps","PostgreSQL on a VPS: a reliable and controlled database","Host PostgreSQL on a VPS: volumes, backups, restricted network access and sound configuration for your applications.",8,2240,"2026-04-25T00:00:00+00:00",{"id":11,"name":16,"slug":17,"color":18,"icon":19},[86],{"id":11,"name":16,"slug":17,"color":18,"icon":19},"\u002Fblog\u002Fcovers\u002Fheberger-postgresql-vps-poster.svg",{"categorySlug":17,"appSlug":89},"postgresql",{"id":91,"slug":92,"title":93,"excerpt":94,"readTime":95,"views":96,"isPinned":13,"publishedAt":97,"category":98,"categories":99,"featuredImage":22,"bgImage":23,"posterImage":101,"relatedSolution":102},57,"heberger-mysql-vps","Hosting MySQL on a VPS","Host MySQL on your Cloud VPS: Docker deployment, hardening, InnoDB tuning, and automated backups, step by step.",7,509,"2026-04-24T00:00:00+00:00",{"id":11,"name":16,"slug":17,"color":18,"icon":19},[100],{"id":11,"name":16,"slug":17,"color":18,"icon":19},"\u002Fblog\u002Fcovers\u002Fheberger-mysql-vps-poster.svg",{"categorySlug":17,"appSlug":103},"mysql",{"id":105,"slug":106,"title":107,"excerpt":108,"readTime":95,"views":109,"isPinned":13,"publishedAt":110,"category":111,"categories":112,"featuredImage":22,"bgImage":23,"posterImage":114,"relatedSolution":115},58,"heberger-redis-vps","Hosting Redis on a VPS","Deploy Redis on your Cloud VPS: ultra-fast cache, sessions, and queues, with persistence, security, and memory tuning.",546,"2026-04-23T00:00:00+00:00",{"id":11,"name":16,"slug":17,"color":18,"icon":19},[113],{"id":11,"name":16,"slug":17,"color":18,"icon":19},"\u002Fblog\u002Fcovers\u002Fheberger-redis-vps-poster.svg",{"categorySlug":17,"appSlug":116},"redis",1785628441474]