Aria2 + AriaNg + Filebrowser
English | 简体中文
- Features
- Recommended versions
- How to run
- Auto SSL enabling
- Build the image by yourself
- Docker Hub
- Usage it in Docker compose
- FAQ
One Docker image for all file downloading, managing, playing and evening sharing platforms!
Besides, it's pretty small and ARM CPU supported which means you can run it on Raspberry Pi🍓.
Last but not least, SSL enabling so easy!
- Aria2 (SSL support)
- AriaNg
- Auto HTTPS (Let's Encrypt)
- Bind non root user into container, so non root user can also manage downloaded files.
- Basic Auth
- File indexing and video playing (File Browser)
- Add support for ARM CPUs, please choose correct docker image TAG
- wahyd4/aria2-ui:latest
- wahyd4/aria2-ui:arm32
- wahyd4/aria2-ui:arm64
‼️ If you are running this docker image on Raspberry Pi,please use tagarm32
docker run -d --name aria2-ui -p 80:80 wahyd4/aria2-ui- Aria2: http://yourip/ui/
- FileManger: http://yourip
- Please use
admin/adminas username and password to login for the first time.
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 /yoursslkeys/:/app/conf/key \
-v <the folder of aria2.conf and aria2.session>:/app/conf \
wahyd4/aria2-uiIf you wanna get rid of those annoying command line things, just put the following sample content into docker-compose.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 just run docker-compose up -d, that's it!
- ENABLE_AUTH whether to enable Basic auth
- ARIA2_USER Basic Auth username
- ARIA2_PWD Basic Auth password
- ARIA2_EXTERNAL_PORT The Aria2 port which exposed to public to access to
- PUID Bind Linux UID into container which means you can use non
rootuser to manage downloaded files, default UID is1000 - PGID Bind Linux GID into container, default GID is 1000
- RPC_SECRET The Aria2 RPC secret token
- DOMAIN The domain you'd like to bind, when domain is a
https://thing, then auto SSL feature will be enabled
/dataThe folder which contains all the files you download./app/conf/keyThe folder which stored Aria2 SSLcertificateandkeyfile.Notice: The certificate file should be namedaria2.crtand the key file should be namedaria2.key/app/confThe Aria2 configuration and file session folder. Make sure you havearia2.confandaria2.sessionfile. For the first timearia2.sessionjust need to be a empty file can be appended. You can also user the templates for these two file in theconffolder of this project. Warning: if you don't mount/app/conf, whenever the container restart, 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 add proper A record point to the host you running to your domain DNS record list, then just add e option to bind the https domain when you run the image
docker run -d --name aria2-ui -p 80:80 -p 443:443 -e DOMAIN=https://toozhao.com wahyd4/aria2-uidocker build -t aria2-ui .
https://hub.docker.com/r/wahyd4/aria2-ui/
Please refer https://github.com/wahyd4/aria2-ariang-x-docker-compose
- When you running the docker image with non
80port or you have HTTPS enabled, you will meet the error saysAria2 Status Disconnected, then you will need to setARIA2_EXTERNAL_PORTand recreate your container. - If there is no speed at all when you downloading a BitTorrent file, please try to use a popular torrent file first to help the application to cache
DHTfile. Then the speed should get fast and fast, as well as downloading other links. - If you see any errors related to
setcapwhich probably means the Linux you are running doesn't support running this application withnon-rootuser. So please specify thePUIDandPGIDto0explicitly to userootuser to run it.


