
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
ENGLISH | 中文
https://github.com/riccox/meilisearch-ui/actions https://github.com/riccox/meilisearch-ui/releases !https://img.shields.io/github/stars/riccox/meilisearch-ui https://github.com/riccox/meilisearch-ui/issues !https://img.shields.io/github/last-commit/riccox/meilisearch-ui https://hub.docker.com/r/riccoxie/meilisearch-ui/tags https://hub.docker.com/r/riccoxie/meilisearch-ui https://github.com/riccox/meilisearch-ui/blob/main/LICENSE
An open-source, pretty, simple and fast meilisearch admin dashboard UI for managing your meilisearch instances
[!IMPORTANT] The main branch may be unstable or unavailable during development. Please use release instead of main branch to obtain a stable version app
🚀 Indexes CRUD
🔎 Search documents
💪 Documents management
🛠️️ Index settings
⚓ Multiple instances management
🔒 Data is stored inside your browser
📦 Docker image support
🎱 Singleton mode support (easy to integrate with your own apps)
🌐 I18n support (en, zh)
[!WARNING] This app have not achieved responsive design totally, so mind that only use this app on desktop to gain better experience.
✅ Remember update CORS settings in your instance server for this ui domain before using.
Because this app use meilisearch official JS client to call your meilisearch instance, you need to manually configure CORS settings in your web server to make sure ui panel can access your instance server with api calls.
Add your ui panel deployment domain to your instance server cors list.
ex:
conf# ... other configurations add_header Access-Control-Allow-Origin "your.meilisearch-ui.domain.com"; # ... other configurations
Learn how to configure CORS settings in your web server
There is a live demo 👉 meilisearch-ui, deploy on Vercel.
shdocker pull riccoxie/meilisearch-ui:latest docker run -d --restart=on-failure:5 --name="meilisearch-ui" -p <your-port>:24900 riccoxie/meilisearch-ui:latest
Lightweight mirror image
Due to functions such as adapting custom paths, the main image size will become a burden for some users. If you only need to use the basic functionality of the application, you can use the lite variant image, which contains only the necessary constructs and is very small compared to the main image.
For specific image variants, please refer to https://hub.docker.com/r/riccoxie/meilisearch-ui/tags
lite images do not support the following features:
You can deploy this app to the cloud with https://vercel.com?utm_source=github&utm_medium=readme
Just one click the button below to deploy this app automatically
https://vercel.com/button](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Friccox%2Fmeilisearch-ui&project-name=meilisearch-ui)
See this https://github.com/riccox/meilisearch-ui/issues/40.
You can configure the base path of this app by setting the BASE_PATH environment variable.
For example, if you want to deploy this app to the /meilisearch-ui path, you can set the BASE_PATH environment variable to /meilisearch-ui.
shdocker run -d --restart=on-failure:5 --name="meilisearch-ui" -p <your-port>:24900 -e BASE_PATH="/meilisearch-ui" riccoxie/meilisearch-ui:latest
See this https://github.com/riccox/meilisearch-ui/issues/43.
If you want to use this app with only one meilisearch instance, you can enable the singleton mode in two ways:
Using Docker (Recommended)
Configure singleton mode using environment variables:
shdocker run -d --restart=on-failure:5 \ --name="meilisearch-ui" \ -p <your-port>:24900 \ -e SINGLETON_MODE=true \ -e SINGLETON_HOST=your-meilisearch-host \ -e SINGLETON_API_KEY=your-api-key \ riccoxie/meilisearch-ui:latest
[!CAUTION]
Security Note
Any singleton mode relevant env variables exposed in this way will eventually appear in the client package, so you should try to avoid using this method. When using singleton mode packaging, you need to carefully judge the network environment in which you deploy the application, and it is recommended to deploy in a trusted internal network environment.
Build from Source
If you need more customization, you can build from source following these steps:
1.Clone this repo
shgit clone git@github.com:riccox/meilisearch-ui.git --depth=1
2.Go into root dir of repo
shcd meilisearch-ui
3.install dependencies
shpnpm install
4.create .env.local file at root dir of repo, add the following configuration:
VITE_SINGLETON_MODE=true VITE_SINGLETON_HOST=your-meilisearch-host VITE_SINGLETON_API_KEY=your-api-key
[!CAUTION]
Security Risk
See this https://github.com/riccox/meilisearch-ui/issues/161.
.env.localfile is local only and you should add it in your.gitignoreto prevent it from being recorded by git.At the same time, any variables exposed in this way will eventually appear in the client package, so you should try to avoid using this method. When using singleton mode packaging, you need to carefully judge the network environment in which you deploy the application, and it is recommended to deploy in a trusted internal network environment.
5.Build the app
shpnpm build
Once the build is complete, you will find the dist directory in the root directory, which is a packaged SPA application directory that can be deployed to any server.
You can preview the packaged singleton mode application locally using the following command:
shpnpm dlx serve dist
Regardless of which method you use, when you open the app, you will be directly redirected to the instance page.
By default, all hosts are allowed and no extra configuration is needed.
Only if you want to restrict allowed hostnames, you can set the optional environment variable ALLOWED_HOSTS. For example:
shALLOWED_HOSTS=demo.ddev.site,another.domain.com
If you have no special requirements, you do not need to set this variable.
Note: The
ALLOWED_HOSTSvariable is only available in the full version image. The lite image does not support this feature.
[!NOTE] Install https://pnpm.io/installation first.
shgit clone git@github.com:riccox/meilisearch-ui.git cd meilisearch-ui pnpm install pnpm dev
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务