Aria2 + AriaNg webui inside a docker container
This project utilises the docker manifest for multi-platform awareness. More information is available from docker here.
The architectures supported by this image are:
Architecture | Tag |
---|---|
x86_64 | x86_64 |
aarch64 | aarch64 |
docker run -d --name ariang -p 80:80 -p 6800:6800 lisaac/ariang:`arch`
docker run -d \
--name ariang \
-p 6800:6800 \
-p 80:80 \
-v /DOWNLOAD_DIR:/aria2/data \
-v /CONFIG_DIR:/aria2/conf \
-e PUID=1000 \
-e PGID=1000 \
-e RPC_SECRET=NOBODYKNOWSME \
-e ENABLE_AUTH=true \
-e ARIANG_USER=user \
-e ARIANG_PWD=password \
lisaac/ariang:`arch`
Now head to http://yourip open settings, enter your secret and you're good to go
PUID
Userid who will own all downloaded files and configuration files (Default0
which is root)PGID
Groupid who will own all downloaded files and configuration files (Default0
which is root)RPC_SECRET
The Aria2 RPC secret token (Defaultsecret
)DOMAIN
The domain you'd like to bind (Default0.0.0.0:80
)
/aria2/data
The folder of all Aria2 downloaded files/aria2/conf
The Aria2 configuration file
When using volumes (-v
flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID
and group PGID
.
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
In this instance PUID=1001
and PGID=1001
, to find yours use id user
as below:
$ id username
uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)
git clone https://github.com/lisaac/aria2-ariang-docker
cd aria2-ariang-docker
docker build -t ariang .
https://hub.docker.com/r/lisaac/ariang/
Todo