安裝 qBittorrent & AutoBangumi#
創建 docker-compose 文件
version: "3.9"
services:
qBittorrent:
image: johngong/qbittorrent:latest
container_name: qBittorrent
ports:
- 8989:8989 #兩者需與下方的QB_WEBUI_PORT一項完全一致
environment:
- PUID=0
- PGID=0
- QB_WEBUI_PORT=8989
volumes:
- ./qb:/config
- ./Downloads:/Downloads
restart: unless-stopped
AutoBangumi:
image: estrellaxd/auto_bangumi:latest
container_name: AutoBangumi
ports:
- 7892:7892
depends_on:
- qBittorrent
volumes:
- ./autoBangumi:/config
environment:
- TZ=Asia/Shanghai
- AB_DOWNLOADER_HOST=ip:8989
- AB_DOWNLOADER_USERNAME=admin # 默認用戶名
- AB_DOWNLOADER_PASSWORD=adminadmin # 默認密碼
- AB_INTERVAL_TIME=7200
- AB_RENAME_FREQ=20
- AB_METHOD=Advance
- AB_GROUP_TAG=True
- AB_NOT_CONTAIN=1080|繁體|CHT|JPTC|繁日|\d+-\d+|BIG5
- AB_DOWNLOAD_PATH=/Downloads/Bangumi
- AB_RSS=你的訂閱
- AB_DEBUG_MODE=False
- AB_EP_COMPLETE=False
- AB_WEBUI_PORT=7892
- AB_RENAME=True
- AB_ENABLE_TMDB=True
- AB_LANGUAGE=zh
restart: unless-stopped
plex:
image: linuxserver/plex
container_name: plex
ports:
- 32400:32400
- 1900:1900/udp
- 3005:3005
- 5353:5353/udp
environment:
- TZ=Asia/Shanghai
- PUID=0
- PGID=0
- VERSION=docker
- PLEX_CLAIM=見下面PS獲取
volumes:
- ./plex:/config
- ./Downloads:/media/Bangumi
restart: unless-stopped
PS:#
PLEX_CLAIM
用於認證媒體伺服器,你可以從 這裡 獲取 (注意需要可用的 plex 帳號),
啟動和停止容器:
docker compose up -d
docker compose down