Sign inSign up

adminhub/aira2

By adminhub

•Updated almost 7 years ago

all ready to use

Image
1

2.0K

adminhub/aira2 repository overview

⁠aira2All

"If you have a goal, then you will find a way to achieve it."

⁠all ready to use Aira2 in one docker container .

Branch ⁠ Pull Requests ⁠ License ⁠



⁠目录

github⁠

dockerhub⁠

⁠Usage

请使用实际的路径替换以下命令中的 DOWNLOAD_DIR 和 CONFIG_DIR,他们将容器中的下载目录和配置文件目录映射到你指定的主机路径上,以便于管理下载的文件和 Aria2 的配置。

若使用存在问题,清理CONFIG_DIR下的session文件,并检查配置,log,之后重新启动容器

sudo docker run -d \
--name aria2 \
-p 6800:6800 \
-p 80:80 \
-p 8080:8080 \
-v $(pwd)/DOWNLOAD_DIR:/data \
-v $(pwd)/CONFIG_DIR:/config \
-e SECRET='SECRET_CODE' \
adminhub/aira2:latest

6800 为 aria2 端口 如果不需要浏览下载目录,则去掉 -p 8080:8080 参数。

tips:请用随意的一组字符串替换 SECRET_CODE,在浏览器中管理 aria2 时需要用这个安全代码认证身份,以防他人恶意使用。
如果设置了SECRET,在启动完成之后需要在页面配置相应的参数
其 aria2 配置文件可在CONFIG_DIR下找到

⁠浏览
  • http://localhost:80 打开 web 管理界面
  • http://localhost:8080 浏览下载目录

如果有更新版本提醒我更新,谢谢

Tag summary

Content type

Image

Digest

Size

9.2 MB

Last updated

almost 7 years ago

docker pull adminhub/aira2