Skip to content

Commit

Permalink
📔 docs: Update Render hosting Guide (danny-avila#1528)
Browse files Browse the repository at this point in the history
* add the IntelliJ Idea config file to .gitignore

* Update the docs for using a user created key and restricting mongodb IP access to public IP addresses
  • Loading branch information
tmendenhall authored Jan 12, 2024
1 parent eb00dd6 commit 30f64c2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ src/style - official.css
.DS_Store
*.code-workspace
.idea
*.iml
*.pem
config.local.ts
**/storageState.json
Expand Down
16 changes: 8 additions & 8 deletions docs/deployment/meilisearch_in_render.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ weight: -3
| --- | --- |
| MEILI_HOST | http://meilisearch:7700 |
| MEILI_HTTP_ADDR | meilisearch:7700 |
| MEILI_MASTER_KEY | DrhYf7zENyR6AlUCKmnz0eYASOQdl6zxH7s7MKFSfFCt |
| MEILI_MASTER_KEY | Create a 44 character alphanunmeric key |
| MEILI_NO_ANALYTICS | true |

**Deployment**
Expand All @@ -63,13 +63,13 @@ Once you get the message: `your service is live 🎉`, copy the URL address of y

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 |
| Key | Value |
| --- |---------------------------------------|
| MEILI_HOST | Your Render project's Meilisearch URL |
| MEILI_HTTP_ADDR | meilisearch:7700 |
| MEILI_MASTER_KEY | Use the key created for Meilisearch |
| MEILI_NO_ANALYTICS | true |
| SEARCH | true |

![image](https://github.com/danny-avila/LibreChat/assets/32828263/f4ff1310-dc6b-4a81-944e-0eece8606b86)

Expand Down
3 changes: 2 additions & 1 deletion docs/deployment/render.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ Also:
## Create and Configure your Database

The last thing you need is to create a MongoDB Atlas Database and get your connection string.
You can also restrict access to your Mongodb to only the [static outgoing IP addresses](https://docs.render.com/static-outbound-ip-addresses) for your Render hosted web service.

Follow the instructions in this document: [Online MongoDB Database](../install/configuration/mongodb.md)
Follow the instructions in this document but add each of the outgoing IP addresses to the list instead of all hosts: [Online MongoDB Database](../install/configuration/mongodb.md)

## Complete the Environment Variables configuration

Expand Down

0 comments on commit 30f64c2

Please sign in to comment.