Files
Auto_Bangumi/docs/en/deploy/docker-cli.md
Estrella Pan 37fa6b4ea5 fix: RSS matching, proxy pool, parser, healthcheck and log issues (#1103 #1104 #1105 #1106 #1108 #1114 #1117)
- match_bangumi_in_list: also accept a torrent whose rebuilt title equals
  the stored title_raw (#1103, #1114)
- download_bangumi / collect_season: drop items whose season or type
  conflicts with the bangumi (#1105)
- request_url: swap in a fresh shared client on PoolTimeout without
  closing the old one (#1104)
- classic parser: Unicode Roman numeral season, strip fullwidth dash
  wrapper (#1108)
- Docker HEALTHCHECK: healthcheck.py reads the configured WebUI port and
  probes IPv4 then IPv6 loopback (#1106)
- scheduler: non-positive interval falls back to 1s; deploy docs cap
  container logs at 10 MB x 3 (#1117)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KU9GqKzULrNb7MN5T9TYix
2026-09-19 17:58:17 +02: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 \
  --log-opt max-size=10m \
  --log-opt max-file=3 \
  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.