LibreChat

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:

  1. You must have a MongoDB container running (e.g., the official mongo docker).
  2. 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

WebUI PortPorttcp

The port to access the LibreChat interface.

Ziel
3080
Standard
3080
Host BindingVariable

Required for Docker networking.

Ziel
HOST
Standard
0.0.0.0
Client DomainVariable

The URL used to access the app. MUST include http:// or https://.

Ziel
DOMAIN_CLIENT
Standard
http://[IP]:[PORT:3080]
Server DomainVariable

Usually the same as Client Domain.

Ziel
DOMAIN_SERVER
Standard
http://[IP]:[PORT:3080]
MongoDB URIVariable

Required. Format: mongodb://[IP]:27017/LibreChat

Ziel
MONGO_URI
Crypto KeyVariable

Required. 64-character hex string. Run 'openssl rand -hex 32' to generate.

Ziel
CREDS_KEY
Crypto IVVariable

Required. 32-character hex string. Run 'openssl rand -hex 16' to generate.

Ziel
CREDS_IV
JWT SecretVariable

Required. Long random string for signing tokens.

Ziel
JWT_SECRET
JWT Refresh SecretVariable

Required. Long random string for refresh tokens.

Ziel
JWT_REFRESH_SECRET
OpenAI API KeyVariable

Optional. If set to 'user_provided', users can enter their own key in the UI.

Ziel
OPENAI_API_KEY
Standard
user_provided
Image StoragePathrw

Persist uploaded images and avatars.

Ziel
/app/client/public/images
Standard
/mnt/user/appdata/librechat/images
LogsPathrw

Container logs.

Ziel
/app/logs
Standard
/mnt/user/appdata/librechat/logs
Install MeiliSearchVariable

Set to 'true' only if you have a separate MeiliSearch container running for chat history search.

Ziel
SEARCH
Standard
false
MeiliSearch HostVariable

http://[IP]:7700

Ziel
MEILI_HOST
MeiliSearch KeyVariable

The master key from your MeiliSearch container.

Ziel
MEILI_MASTER_KEY
UIDVariable

Unraid Default User ID

Standard
99
GIDVariable

Unraid Default Group ID

Standard
100

Einzelheiten

Repository
ghcr.io/danny-avila/librechat:latest
Zuletzt aktualisiert2026-06-01
Erstmals gesehen2025-09-01

Fü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.