📔 docs: Update Render hosting Guide (#1528)

* 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
This commit is contained in:
Tyler Mendenhall 2024-01-12 18:14:42 -05:00 committed by GitHub
parent b9d2a8fbb2
commit 690cb9caa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 9 deletions

1
.gitignore vendored
View file

@ -69,6 +69,7 @@ src/style - official.css
.DS_Store .DS_Store
*.code-workspace *.code-workspace
.idea .idea
*.iml
*.pem *.pem
config.local.ts config.local.ts
**/storageState.json **/storageState.json

View file

@ -40,7 +40,7 @@ weight: -3
| --- | --- | | --- | --- |
| MEILI_HOST | http://meilisearch:7700 | | MEILI_HOST | http://meilisearch:7700 |
| MEILI_HTTP_ADDR | meilisearch:7700 | | MEILI_HTTP_ADDR | meilisearch:7700 |
| MEILI_MASTER_KEY | DrhYf7zENyR6AlUCKmnz0eYASOQdl6zxH7s7MKFSfFCt | | MEILI_MASTER_KEY | Create a 44 character alphanunmeric key |
| MEILI_NO_ANALYTICS | true | | MEILI_NO_ANALYTICS | true |
**Deployment** **Deployment**
@ -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): 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 | | Key | Value |
| --- | --- | | --- |---------------------------------------|
| MEILI_HOST | Your Render project's Meilisearch URL| | MEILI_HOST | Your Render project's Meilisearch URL |
| MEILI_HTTP_ADDR | meilisearch:7700 | | MEILI_HTTP_ADDR | meilisearch:7700 |
| MEILI_MASTER_KEY | DrhYf7zENyR6AlUCKmnz0eYASOQdl6zxH7s7MKFSfFCt | | MEILI_MASTER_KEY | Use the key created for Meilisearch |
| MEILI_NO_ANALYTICS | true | | MEILI_NO_ANALYTICS | true |
| SEARCH | true | | SEARCH | true |
![image](https://github.com/danny-avila/LibreChat/assets/32828263/f4ff1310-dc6b-4a81-944e-0eece8606b86) ![image](https://github.com/danny-avila/LibreChat/assets/32828263/f4ff1310-dc6b-4a81-944e-0eece8606b86)

View file

@ -82,8 +82,9 @@ Also:
## Create and Configure your Database ## Create and Configure your Database
The last thing you need is to create a MongoDB Atlas Database and get your connection string. 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 ## Complete the Environment Variables configuration