* mkdocs plugins: add plugin for social cards and plugin that allow to exclude a folder * docs: fix hyperlinks * mkdocs: social cards (descriptions) for 'contributions' and 'deployment' guides * mkdocs: social cards (descriptions) for all 'index.md' * mkdocs: social cards (descriptions) for 'features' and 'plugins' * mkdocs: social cards (descriptions) for 'general_info' * mkdocs: social cards (descriptions) for 'configuration' * mkdocs: social cards (descriptions) for 'installation' * mkdocs: minor fixes * update librechat.svg * update how_to_contribute.md add reference to the official GitHub documentation
3.9 KiB
| title | description | weight |
|---|---|---|
| 🔎 Meilisearch in Render | Setup Meilisearch on Render (for use with the Render deployment guide) | -3 |
Utilize Meilisearch by running LibreChat on Render
Create a new account or a new project on Render
1. Visit https://render.com/ and click on Start Free to create an account and sign in
2. Access your control panel
3. Select New and then Web Service
4. Add https://github.com/itzraiss/Meilisearch to the public repositories section and click continue
5. Assign a unique name and proceed with the free option and click on the create web service button at the bottom of the page
Click on Advanced to add Environment Variables
Add the Environment Variables
1. To manually add the Environment Variables
- You need to use
Add Environment Variablesand add them one at a time, as adding a secret file will not work in our case.
2. You need to enter these values:
| Key | Value |
|---|---|
| MEILI_HOST | http://meilisearch:7700 |
| MEILI_HTTP_ADDR | meilisearch:7700 |
| MEILI_MASTER_KEY | DrhYf7zENyR6AlUCKmnz0eYASOQdl6zxH7s7MKFSfFCt |
| MEILI_NO_ANALYTICS | true |
Deployment
1. Everything is set up, now all you need to do is click on 'Create Web Service'. This will take a few seconds
3. Once it's ready, you'll see your service is live 🎉 in the console and the green Live icon at the top
Get URL Address
Once you get the message: your service is live 🎉, copy the URL address of your project in the top left corner of Render:
In LibreChat Project
Now, insert the below environment variable values into your LibreChat project (Replace MEILI_HOST by adding the URL address of your Render's Meilisearch project that you copied):
| Key | Value |
|---|---|
| MEILI_HOST | Your Render project's Meilisearch URL |
| MEILI_HTTP_ADDR | meilisearch:7700 |
| MEILI_MASTER_KEY | DrhYf7zENyR6AlUCKmnz0eYASOQdl6zxH7s7MKFSfFCt |
| MEILI_NO_ANALYTICS | true |
| SEARCH | true |
Deployment
1. Now, click on Manual Deployment and select Clear build cache & Deploy. It will take a few minutes
3. Once it's ready, you'll see your service is live 🎉 in the console and the green Live icon at the top
Conclusion
Now, you should be able to perform searches again, congratulations, you have successfully deployed Meilisearch on render.com