LibreChat
Docker-Anwendung from pureelectricity's Repository
Übersicht
LibreChat: Enhanced ChatGPT Clone. Features: Agents, Anthropic, AWS, OpenAI, Azure, Gemini, AI model switching, message search, langchain, DALL-E-3, Multi-User Auth, and more.
PREREQUISITES:
- You must have a MongoDB container running (e.g., the official mongo docker).
- You must generate random hex strings for the CREDS_KEY, CREDS_IV, and JWT_SECRET below, or logins will fail.
CONFIGURATION:
- This template uses Environment Variables for config.
- The 'librechat.yaml' file is optional and not mapped by default to prevent boot errors. If you need advanced configuration (custom endpoints), create the file on your server first, then add a Host Path mapping manually: /mnt/user/appdata/librechat/librechat.yaml -> /app/librechat.yaml
Laufzeit-Argumente
- Web-UI
http://[IP]:[PORT:3080]/- Netzwerk
bridge- Shell
sh- Privilegiert
- false
Konfiguration der Vorlage
The port to access the LibreChat interface.
- Ziel
- 3080
- Standard
- 3080
Required for Docker networking.
- Ziel
- HOST
- Standard
- 0.0.0.0
The URL used to access the app. MUST include http:// or https://.
- Ziel
- DOMAIN_CLIENT
- Standard
- http://[IP]:[PORT:3080]
Usually the same as Client Domain.
- Ziel
- DOMAIN_SERVER
- Standard
- http://[IP]:[PORT:3080]
Required. Format: mongodb://[IP]:27017/LibreChat
- Ziel
- MONGO_URI
Required. 64-character hex string. Run 'openssl rand -hex 32' to generate.
- Ziel
- CREDS_KEY
Required. 32-character hex string. Run 'openssl rand -hex 16' to generate.
- Ziel
- CREDS_IV
Required. Long random string for signing tokens.
- Ziel
- JWT_SECRET
Required. Long random string for refresh tokens.
- Ziel
- JWT_REFRESH_SECRET
Optional. If set to 'user_provided', users can enter their own key in the UI.
- Ziel
- OPENAI_API_KEY
- Standard
- user_provided
Persist uploaded images and avatars.
- Ziel
- /app/client/public/images
- Standard
- /mnt/user/appdata/librechat/images
Container logs.
- Ziel
- /app/logs
- Standard
- /mnt/user/appdata/librechat/logs
Set to 'true' only if you have a separate MeiliSearch container running for chat history search.
- Ziel
- SEARCH
- Standard
- false
http://[IP]:7700
- Ziel
- MEILI_HOST
The master key from your MeiliSearch container.
- Ziel
- MEILI_MASTER_KEY
Unraid Default User ID
- Standard
- 99
Unraid Default Group ID
- Standard
- 100
Kategorien
Einzelheiten
ghcr.io/danny-avila/librechat:latestFühren Sie LibreChat auf Unraid aus.
LibreChat ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.