Files
aria2-ariang-docker/README.md
T
2019-07-13 13:42:09 +10:00

3.9 KiB
Raw Blame History

Aria2 + AriaNg

English | 简体中文

Docker Pulls Build Status

One Docker image for all file downloading, managing, playing and evening sharing platforms! Besides, it's small and ARM CPU supported which means you can run it on Raspberry Pi. Last but not least, SSL enabling so easy!

AriaNG Screenshot

File Browser File Browser

Features

  • Aria2 (SSL support)
  • AriaNg
  • Auto HTTPS Let's Encrypt
  • 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

How to run

Quick run

  docker run -d --name aria2-ui -p 80:80 wahyd4/aria2-ui

Full features run

  docker run -d --name ariang \
  -p 80:80 \
  -p 443:443 \
  -e ENABLE_AUTH=true \
  -e RPC_SECRET=Hello \
  -e DOMAIN=example.com \
  -e ARIA2_USER=user \
  -e ARIA2_PWD=pwd \
  -v /yourdata:/data \
  -v /app/a.db:/app/filebrowser.db \
  -v /yoursslkeys/:/app/conf/key \
  -v <to your aria2.conf>:/app/conf/aria2.conf \
  wahyd4/aria2-ui

Supported Environment Variables

  • ENABLE_AUTH whether to enable Basic auth
  • ARIA2_USER Basic Auth username
  • ARIA2_PWD Basic Auth
  • RPC_SECRET The Aria2 RPC secret token
  • DOMAIN The domain you'd like to bind

Supported Volumes

  • /data The folder which contains all the files you download.
  • /app/conf/key The folder which stored Aria2 SSL certificate and key file. Notice: The certificate file should be named aria2.crt and the key file should be named aria2.key
  • /app/conf/aria2.conf The Aria2 configuration file.
  • /app/filebrowser.db File Browser settings database, make sure you make a empty file first on your host.

Auto SSL enabling

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-ui

Build the image by yourself

docker build -t aria2-ui .

Docker Hub

https://hub.docker.com/r/wahyd4/aria2-ui/

Usage it in Docker compose

Please refer https://github.com/wahyd4/aria2-ariang-x-docker-compose

FAQ

  1. 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 DHT file. Then the speed should get fast and fast, as well as downloading other links.