mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-07-04 19:17:48 +08:00
docs: add i18n support with Chinese as default language
- Configure VitePress locales with zh-CN as root and en-US as /en/ - Translate all documentation to Chinese (31 files) - Create English documentation under /en/ directory - Add Chinese UI labels for navigation and pagination - Language switcher now available in site header Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -1,31 +1,31 @@
|
||||
# Deploy with Docker CLI
|
||||
# 使用 Docker CLI 部署
|
||||
|
||||
## Note on New Versions
|
||||
## 新版本说明
|
||||
|
||||
Since AutoBangumi 2.6, you can configure everything directly in the WebUI. You can start the container first and then configure it in the WebUI. Environment variable configuration from older versions will be automatically migrated. Environment variables still work but only take effect on the first startup.
|
||||
从 AutoBangumi 2.6 开始,您可以直接在 WebUI 中配置所有设置。您可以先启动容器,然后在 WebUI 中进行配置。旧版本的环境变量配置将自动迁移。环境变量仍然有效,但仅在首次启动时生效。
|
||||
|
||||
## Create Data and Configuration Directories
|
||||
## 创建数据和配置目录
|
||||
|
||||
To ensure AB's data and configuration persist across updates, we recommend using Docker volumes or bind mounts.
|
||||
为确保 AB 的数据和配置在更新时持久化,我们建议使用 Docker 卷或绑定挂载。
|
||||
|
||||
```shell
|
||||
# Using bind mount
|
||||
# 使用绑定挂载
|
||||
mkdir -p ${HOME}/AutoBangumi/{config,data}
|
||||
cd ${HOME}/AutoBangumi
|
||||
```
|
||||
|
||||
Choose either bind mount or Docker volume:
|
||||
选择绑定挂载或 Docker 卷:
|
||||
```shell
|
||||
# Using Docker volume
|
||||
# 使用 Docker 卷
|
||||
docker volume create AutoBangumi_config
|
||||
docker volume create AutoBangumi_data
|
||||
```
|
||||
|
||||
## Deploy AutoBangumi with Docker CLI
|
||||
## 使用 Docker CLI 部署 AutoBangumi
|
||||
|
||||
Copy and run the following command.
|
||||
复制并运行以下命令。
|
||||
|
||||
Make sure your working directory is AutoBangumi.
|
||||
请确保您的工作目录为 AutoBangumi。
|
||||
|
||||
```shell
|
||||
docker run -d \
|
||||
@@ -43,14 +43,14 @@ docker run -d \
|
||||
ghcr.io/estrellaxd/auto_bangumi:latest
|
||||
```
|
||||
|
||||
If using Docker volumes, replace the bind paths accordingly:
|
||||
如果使用 Docker 卷,请相应替换绑定路径:
|
||||
```shell
|
||||
-v AutoBangumi_config:/app/config \
|
||||
-v AutoBangumi_data:/app/data \
|
||||
```
|
||||
|
||||
The AB WebUI will start automatically, but the main program will be paused. Access `http://abhost:7892` to configure it.
|
||||
AB WebUI 将自动启动,但主程序处于暂停状态。访问 `http://abhost:7892` 进行配置。
|
||||
|
||||
AB will automatically write environment variables to `config.json` and start running.
|
||||
AB 会自动将环境变量写入 `config.json` 并开始运行。
|
||||
|
||||
We recommend using _[Portainer](https://www.portainer.io)_ or similar Docker management UIs for advanced deployment.
|
||||
我们建议使用 _[Portainer](https://www.portainer.io)_ 或类似的 Docker 管理界面进行高级部署。
|
||||
|
||||
Reference in New Issue
Block a user