Files
Auto_Bangumi/docs/en/deploy/docker-cli.md
Estrella Pan 03bf265651 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>
2026-01-27 07:57:13 +01:00

1.7 KiB

Deploy with 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.

Create Data and Configuration Directories

To ensure AB's data and configuration persist across updates, we recommend using Docker volumes or bind mounts.

# Using bind mount
mkdir -p ${HOME}/AutoBangumi/{config,data}
cd ${HOME}/AutoBangumi

Choose either bind mount or Docker volume:

# Using Docker volume
docker volume create AutoBangumi_config
docker volume create AutoBangumi_data

Deploy AutoBangumi with Docker CLI

Copy and run the following command.

Make sure your working directory is AutoBangumi.

docker run -d \
  --name=AutoBangumi \
  -v ${HOME}/AutoBangumi/config:/app/config \
  -v ${HOME}/AutoBangumi/data:/app/data \
  -p 7892:7892 \
  -e TZ=Asia/Shanghai \
  -e PUID=$(id -u) \
  -e PGID=$(id -g) \
  -e UMASK=022 \
  --network=bridge \
  --dns=8.8.8.8 \
  --restart unless-stopped \
  ghcr.io/estrellaxd/auto_bangumi:latest

If using Docker volumes, replace the bind paths accordingly:

  -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 will automatically write environment variables to config.json and start running.

We recommend using Portainer or similar Docker management UIs for advanced deployment.