LibreChat

LibreChat

Application Docker from pureelectricity's Repository

Vue d'ensemble

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

Arguments d'exécution

Interface utilisateur Web
http://[IP]:[PORT:3080]/
Réseau
bridge
Coquille
sh
Privilégié
false

Configuration du modèle

WebUI PortPorttcp

The port to access the LibreChat interface.

Cible
3080
Défaut
3080
Host BindingVariable

Required for Docker networking.

Cible
HOST
Défaut
0.0.0.0
Client DomainVariable

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

Cible
DOMAIN_CLIENT
Défaut
http://[IP]:[PORT:3080]
Server DomainVariable

Usually the same as Client Domain.

Cible
DOMAIN_SERVER
Défaut
http://[IP]:[PORT:3080]
MongoDB URIVariable

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

Cible
MONGO_URI
Crypto KeyVariable

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

Cible
CREDS_KEY
Crypto IVVariable

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

Cible
CREDS_IV
JWT SecretVariable

Required. Long random string for signing tokens.

Cible
JWT_SECRET
JWT Refresh SecretVariable

Required. Long random string for refresh tokens.

Cible
JWT_REFRESH_SECRET
OpenAI API KeyVariable

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

Cible
OPENAI_API_KEY
Défaut
user_provided
Image StoragePathrw

Persist uploaded images and avatars.

Cible
/app/client/public/images
Défaut
/mnt/user/appdata/librechat/images
LogsPathrw

Container logs.

Cible
/app/logs
Défaut
/mnt/user/appdata/librechat/logs
Install MeiliSearchVariable

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

Cible
SEARCH
Défaut
false
MeiliSearch HostVariable

http://[IP]:7700

Cible
MEILI_HOST
MeiliSearch KeyVariable

The master key from your MeiliSearch container.

Cible
MEILI_MASTER_KEY
UIDVariable

Unraid Default User ID

Défaut
99
GIDVariable

Unraid Default Group ID

Défaut
100

Détails

Référentiel
ghcr.io/danny-avila/librechat:latest
Dernière mise à jour2026-06-02
Première vue2025-09-01

Exécutez LibreChat sur Unraid.

LibreChat est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.