Files
Auto_Bangumi/docs/en/deploy/docker-compose.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

2.1 KiB

Deploy with Docker Compose

A one-click deployment method for AutoBangumi using a docker-compose.yml file.

Install Docker Compose

Docker Compose usually comes bundled with Docker. Check with:

docker compose -v

If not installed, install it with:

$ sudo apt-get update
$ sudo apt-get install docker-compose-plugin

Deploy AutoBangumi

Create AutoBangumi and Data Directories

mkdir -p ${HOME}/AutoBangumi/{config,data}
cd ${HOME}/AutoBangumi

Option 1: Custom Docker Compose Configuration

version: "3.8"

services:
  AutoBangumi:
    image: "ghcr.io/estrellaxd/auto_bangumi:latest"
    container_name: AutoBangumi
    volumes:
      - ./config:/app/config
      - ./data:/app/data
    ports:
      - "7892:7892"
    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "3"
    dns:
      - 8.8.8.8
    network_mode: bridge
    environment:
      - TZ=Asia/Shanghai
      - PGID=$(id -g)
      - PUID=$(id -u)
      - UMASK=022

Copy the above content into a docker-compose.yml file.

Option 2: Download Docker Compose Configuration File

If you don't want to create the docker-compose.yml file manually, the project provides pre-made configurations:

  • Install AutoBangumi only:
    wget https://raw.githubusercontent.com/EstrellaXD/Auto_Bangumi/main/docs/resource/docker-compose/AutoBangumi/docker-compose.yml
    
  • Install qBittorrent and AutoBangumi:
    wget https://raw.githubusercontent.com/EstrellaXD/Auto_Bangumi/main/docs/resource/docker-compose/qBittorrent+AutoBangumi/docker-compose.yml
    

Choose your installation method and run the command to download the docker-compose.yml file. You can customize parameters with a text editor if needed.

Define Environment Variables

If you're using the downloaded AB+QB Docker Compose file, you need to define the following environment variables:

export \
QB_PORT=<YOUR_PORT>
  • QB_PORT: Enter your existing qBittorrent port or your desired custom port, e.g., 8080

Start Docker Compose

docker compose up -d