LibreChat
Docker 应用程序 from pureelectricity's Repository
概述
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
运行时参数
- 网络用户界面
http://[IP]:[PORT:3080]/- 网络
bridge- 外壳
sh- 特权
- false
模板配置
The port to access the LibreChat interface.
- 目标
- 3080
- 默认值
- 3080
Required for Docker networking.
- 目标
- HOST
- 默认值
- 0.0.0.0
The URL used to access the app. MUST include http:// or https://.
- 目标
- DOMAIN_CLIENT
- 默认值
- http://[IP]:[PORT:3080]
Usually the same as Client Domain.
- 目标
- DOMAIN_SERVER
- 默认值
- http://[IP]:[PORT:3080]
Required. Format: mongodb://[IP]:27017/LibreChat
- 目标
- MONGO_URI
Required. 64-character hex string. Run 'openssl rand -hex 32' to generate.
- 目标
- CREDS_KEY
Required. 32-character hex string. Run 'openssl rand -hex 16' to generate.
- 目标
- CREDS_IV
Required. Long random string for signing tokens.
- 目标
- JWT_SECRET
Required. Long random string for refresh tokens.
- 目标
- JWT_REFRESH_SECRET
Optional. If set to 'user_provided', users can enter their own key in the UI.
- 目标
- OPENAI_API_KEY
- 默认值
- user_provided
Persist uploaded images and avatars.
- 目标
- /app/client/public/images
- 默认值
- /mnt/user/appdata/librechat/images
Container logs.
- 目标
- /app/logs
- 默认值
- /mnt/user/appdata/librechat/logs
Set to 'true' only if you have a separate MeiliSearch container running for chat history search.
- 目标
- SEARCH
- 默认值
- false
http://[IP]:7700
- 目标
- MEILI_HOST
The master key from your MeiliSearch container.
- 目标
- MEILI_MASTER_KEY
Unraid Default User ID
- 默认值
- 99
Unraid Default Group ID
- 默认值
- 100
详细信息
ghcr.io/danny-avila/librechat:latest在Unraid 上运行 LibreChat 。
LibreChat 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。