Aria2 Pro Installation#
Aria2 Pro is an Aria2 Docker created by P3TERX, a master in perfect configuration and special customization optimization based on Aria2.
- Minimalist design, focused on downloading, simple and easy to use, less is more.
- Supports integration with RCLONE, automatically uploads to OneDrive, Google Drive, and other cloud drives.
- Automatically updates the BT tracker list on a schedule (without perception or restart) to maintain high download speeds for BT.
Project Links
GitHub: https://github.com/P3TERX/docker-aria2-pro
Docker Hub: https://hub.docker.com/r/p3terx/aria2-pro
Quick Start
docker run -d \
--name aria2-pro \
--restart unless-stopped \
--log-opt max-size=1m \
--network host \
-e PUID=$UID \
-e PGID=$GID \
-e RPC_SECRET=<TOKEN> \
-e RPC_PORT=6800 \
-e LISTEN_PORT=6888 \
-v ~/aria2/config:/config \
-v ~/aria2/downloads:/downloads \
-e SPECIAL_MODE=rclone \
p3terx/aria2-pro
- You only need to replace the
<TOKEN>
field (RPC secret key) to start. - If you have previously used RCLONE, simply copy the configuration file (rclone.conf) to the Aria2 Pro configuration directory.
- For first-time use or to configure RCLONE, you can use the
docker exec -it aria2-pro rclone config
command to enter the RCLONE interactive menu inside the container. The configuration method can be found in Rclone Installation and Configuration Tutorial. - Finally, modify the values of the drive name (drive-name) and drive directory (drive-dir) options in the script.conf file under the Aria2 Pro configuration file directory according to your actual situation.
Flexget Installation#
FlexGet is a versatile automation tool for all media types, supporting torrent files, nzbs, podcasts, comics, TV shows, movies, RSS, HTML, CSV, and more. It can also be installed using Docker.
Project Links
GitHub: https://github.com/wiserain/docker-flexget
Docker Hub: https://hub.docker.com/r/wiserain/flexget
Quick Start
docker run -d \
--name=flexget \
--restart=always \
-p 5050:5050 \
-e PUID=1000 \
-e PGID=1000 \
-e FG_WEBUI_PASSWD=<PASSWD> \
-e FG_LOG_LEVEL=info \
-e TZ=Asia/Shanghai \
-v ~/flexget/config:/config \
-v ~/flexget/data:/data \
wiserain/flexget
- You only need to replace the
<PASSWD>
field (WebUI password) to start. - If the startup fails, it may be because the password does not meet the requirements. You can modify the password and run it again. It is recommended to include underscores, letters, and numbers in the password.
Setting up Flexget Configuration File#
After the container is started, you can access the Flexget application through http://ip:5050
and enter the username and password on the login page.
Once logged in, click on the "config" menu on the left to start configuring site subscription information and downloader information.
Configuration Template
web_server:
bind: 0.0.0.0
port: 5050
web_ui: yes
tasks:
Task Name:
rss: RSS-URL
accept_all: yes
aria2:
server: Aria2-IP
port: Aria2-Port
secret: Aria2-Secret
path: Aria2-Download-Absolute-Path
schedules:
- tasks: '*'
interval:
minutes: 30 # Task execution interval in minutes
Here is my configuration file
web_server:
bind: 0.0.0.0
port: 5050
web_ui: yes
tasks:
葬送的芙莉蓮:
rss: https://mikanani.me/RSS/Bangumi?bangumiId=3141&subgroupid=583
accept_all: yes
seen: local
aria2:
path: /2310/葬送的芙莉蓮/
scheme: https
server: aria.xxxx.com
port: 443
secret: xxxxxxx
我推是反派大小姐。:
rss: https://mikanani.me/RSS/Bangumi?bangumiId=3177&subgroupid=583
accept_all: yes
seen: local
aria2:
path: /2310/我推是反派大小姐/
scheme: https
server: aria.xxxx.com
port: 443
secret: xxxxxxx
赛马娘 Pretty Derby 第三季:
rss: https://mikanani.me/RSS/Bangumi?bangumiId=3195&subgroupid=583
accept_all: yes
seen: local
aria2:
path: /2310/赛马娘 Pretty Derby 第三季/
scheme: https
server: aria.xxxx.com
port: 443
secret: xxxxxxx
schedules:
- tasks: '*'
interval:
minutes: 30
- After the configuration is complete, you can manually execute the tasks in the "Tasks" menu on the left, and it will be automatically executed every 30 minutes.
Mounting OneDrive with AList#
Up to this point, you have already completed the automatic download of new episodes and uploading to OneDrive. However, to enhance the anime watching experience, here we will use AList to mount OneDrive, making it convenient to watch anime on Dandanplay via WebDav.
AList is a file listing program that supports multiple storage providers.
- AList supports multiple storage providers, including local storage, Aliyun Drive, OneDrive, Google Drive, and more, and is easy to expand.
- AList supports all WebDAV storage, which is a standard for accessing files.
- Supports video, audio, documents, PDFs, image previews, and even IPA installation.
Project Links
GitHub: https://github.com/alist-org/alist
Official Documentation: https://alist.nn.ci/zh/guide
Quick Start
docker run -d \
--restart=always \
-v ~/alist:/opt/alist/data \
-p 5244:5244 \
-e PUID=0 \
-e PGID=0 \
-e UMASK=022 \
--name="alist" \
xhofe/alist:latest
- After starting the container, run
docker exec -it alist ./alist admin set NEW_PASSWORD
to set the password. - For mounting OneDrive, you can refer to AList Mounting OneDrive.
- My AList Address