mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
docs: Update 2024-03-22_unraid_guide.mdx (#327)
Changed replit URL to the internal Librechat tool I discovered while following this guide. ;)
This commit is contained in:
@@ -52,7 +52,7 @@ The Docker compose file is where this gets tricky, there's a lot here. From top
|
||||
|
||||
- **Crypto Key**, **Crypto Initialization Vector**, **JWT Secret**, and **JWT Refresh Secret**.
|
||||
|
||||
These 4 we get all at once and honestly I'm still not sure what they are. LibreChat recommend [this Replit](https://replit.com/@daavila/crypto#index.js) to generate them. In order to run it, you need to create an account. I created one with my GitHub Login and then just deleted it once I was done. It should be fairly self explanatory (I also don't feel like making another account to write a more detailed guide), but once you run it, you'll see an output with `CREDS_KEY` which you'll put in `Crypto Key`, `CREDS_IV` which you'll put in `Crypto Initialization Vector`, `JWT_SECRET` which you'll put in `JWT Secret`, and `JWT_REFRESH_SECRET` which you'll put in `JWT Refresh Secret`. Great, the hard part is done.
|
||||
These 4 we get all at once and honestly I'm still not sure what they are. LibreChat have a tool to [generate these](https://www.librechat.ai/toolkit/creds_generator). It should be fairly self explanatory, but once you run it, you'll see an output with `CREDS_KEY` which you'll put in `Crypto Key`, `CREDS_IV` which you'll put in `Crypto Initialization Vector`, `JWT_SECRET` which you'll put in `JWT Secret`, and `JWT_REFRESH_SECRET` which you'll put in `JWT Refresh Secret`. Great, the hard part is done.
|
||||
|
||||
- Back to **MongoDB URI**. Here you'll put the location of your MongoDB instance in the following format: `mongodb://ip:port/database`. So since my server's local IP is `192.168.1.100` and I kept it at the default port of `27017`, I entered the following: `mongodb://192.168.1.100:27017/librechat`. But wait, I didn't create a librechat database! That's fine, it'll create one for you. You can actually name this whatever you want, but librechat makes the most sense.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user