参考链接
Github
https://github.com/P3TERX/Aria2-Pro-Docker
进阶说明
Aria2 Pro - 更好用的 Aria2 Docker 容器镜像
我的配置文件
我的docker-compose
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| version: "3.8"
services:
Aria2-Pro: container_name: aria2-pro image: p3terx/aria2-pro environment: - PUID=65534 - PGID=65534 - UMASK_SET=022 - RPC_SECRET=yourpassword - RPC_PORT=6800 - LISTEN_PORT=6888 - DISK_CACHE=64M - IPV6_MODE=true - UPDATE_TRACKERS=true - CUSTOM_TRACKER_URL= - TZ=Asia/Shanghai - SPECIAL_MODE=move volumes: - ${PWD}/aria2-config:/config - /mnt/sata/.tmp:/downloads - /mnt/sata:/completed
network_mode: host restart: unless-stopped logging: driver: json-file options: max-size: 1m
|
修正一个小bug
修改aria2-config/script.conf第23行为dest-dir=/completed