The Docker image for Aria2 + AriaNg + File Browser + Rclone
Aria2 + AriaNg + Filebrowser
English | 简体中文
If you like this project, please consider support me / 如果喜欢本项目，请考虑打赏，谢谢！
One Docker image for file downloading, managing, sharing, as well as video playing and evening cloud storage synchronization.
Furthermore, it's pretty small and ARM CPU compatible which means you can also run it on Raspberry Pi🍓.
Last but not least, Auto HTTPS can't be more easy!
Docker will pick the the proper ARCH for you. e.g. arm64v8 or x86_64
docker run -d --name aria2-ui -p 80:80 wahyd4/aria2-ui
adminas username and password to login for the first time, and
Rcloneif you don't update
docker run -d --name ariang \ -p 80:80 \ -p 443:443 \ -e PUID=1000 \ -e PGID=1000 \ -e ENABLE_AUTH=true \ -e RPC_SECRET=Hello \ -e DOMAIN=https://example.com \ -e ARIA2_SSL=false \ -e ARIA2_USER=user \ -e ARIA2_PWD=pwd \ -e ARIA2_EXTERNAL_PORT=443 \ -v /yourdata:/data \ -v /app/a.db:/app/filebrowser.db \ -v /to_yoursslkeys/:/app/conf/key \ -v :/app/conf \ wahyd4/aria2-ui
If you would like to get rid of those annoying command line commands, then just put the following sample content into
yaml version: "3.5" services: aria2-ui: restart: unless-stopped image: wahyd4/aria2-ui:latest environment: - ENABLE_AUTH=true - ARIA2_USER=hello - ARIA2_PWD=world - DOMAIN=http://toozhao.com ports: - "80:80" volumes: - ./data:/dataThen simply run
docker-compose up -d, that's it!
rootuser to manage downloaded files, default UID is
https://thing, then auto SSL feature will be enabled
/dataThe folder contains all the files you download.
/app/conf/keyThe folder which stores Aria2 SSL
Notice: The certificate file should be named
aria2.crtand the key file should be named
/app/confThe Aria2 configuration and file session folder. Make sure you have
aria2.sessionfile. For the first time
aria2.sessionjust need to be a empty file can be appended. You can also user the templates for these two file in the
conffolder of this project. Please put your
rclone.confin this folder as well if you'd mount it to Rclone. So all the config files supported in this folder are:
Warning: if you don't mount
/app/conf, whenever the container restarts, you'll lose your downloading progress.
/app/filebrowser.dbFile Browser settings database, make sure you make a empty file first on your host.
Make sure you have added proper
Arecord point to the host you running to your domain
DNSrecord list, then just add
eoption to bind the
httpsdomain when you run the image
docker run -d --name aria2-ui -p 80:80 -p 443:443 -e DOMAIN=https://toozhao.com wahyd4/aria2-ui
docker buildx build --platform linux/arm/v7,linux/arm64,linux/amd64 -t aria2-ui .
80port or you have HTTPS enabled, you will meet the error says
Aria2 Status Disconnected, then you will need to set
ARIA2_EXTERNAL_PORTand recreate your container.
DHTfile. Then the speed should get fast and fast, as well as downloading other links.
setcapwhich probably means the Linux you are running doesn't support running this application with
non-rootuser. So please specify the
0explicitly to use
rootuser to run it.
Rcloneauthenticated? Due to Rclone is running in this docker image only as a component rather than an application, you can only interact with it via
/rcloneendpoint, and no other ports. So the web browser authentication mechanism doesn't work here. Please configure Rclone through command line within the container. You can follow the official doc Configuring rclone on a remote / headless machine or this issue