Deploy Meilisearch
Meilisearch v1.56.2: fast, typo-tolerant search API with persistent data
Meilisearch
Just deployed
/meili_data
Deploy and Host Meilisearch on Railway
Meilisearch is an open-source search engine, written in Rust, that you add to websites and apps through a REST API. It returns typo-tolerant results as you type, and supports filters, facets, sorting, synonyms and hybrid keyword plus vector search. Official SDKs cover JavaScript, Python, PHP, Ruby, Go and more.
About Hosting Meilisearch
Meilisearch runs as a single process that stores its indexes on local disk, so hosting it means one service with a persistent volume, a master key and an HTTPS endpoint. This template builds Meilisearch v1.56.2 from the official image, pinned by digest, in production mode. Railway generates a 32-character master key, mounts a volume at /meili_data for the database, dumps and snapshots, and checks /health before routing traffic. Telemetry is off. Version updates come from the template's GitHub repo, and Meilisearch upgrades its database in place when it starts on a newer version. Take a snapshot or volume backup before you apply one.
Common Use Cases
- Instant, typo-tolerant search for e-commerce catalogues, documentation sites and blogs
- Search and filtering inside SaaS apps, admin panels and internal tools
- Hybrid keyword and semantic search, or retrieval for AI assistants, using embeddings
Dependencies for Meilisearch Hosting
- A persistent volume for the database (included)
- An app or site that sends documents and queries over the HTTP API
Deployment Dependencies
Implementation Details
Every route except GET /health needs a key. Find MEILI_MASTER_KEY on the service's Variables tab, then list the default keys Meilisearch creates:
curl -H "Authorization: Bearer YOUR_MASTER_KEY" https://YOUR-DOMAIN/keys
Use the "Default Search API Key" in browsers and the "Default Admin API Key" on your server. Keep the master key private. Other services in the same Railway project can reach Meilisearch at http://${{Meilisearch.RAILWAY_PRIVATE_DOMAIN}}:7700. Optional settings, such as MEILI_MAX_INDEXING_MEMORY or MEILI_SCHEDULE_SNAPSHOT, can be added as variables.
Why Deploy Meilisearch on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Meilisearch on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Meilisearch
aalfath/meilisearch-railway-template