Skip to content

Murray-LIANG/aria2-with-ariang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Aria2 with AriaNg

Forked from XUJINKAI/aria2-with-webui and replace WebUI-Aria2 with AriaNg.

How to Use

Docker

  1. IMPORTANT: Customize below settings:
    • <CONFIG_DIR> to persist your aria2 config on the host.
    • <DOWNLOADS_DIR> to persist what you download.
    • [Optional] <MOVIES_DIR> to persist the movies you download. If not set, <DOWNLOADS_DIR>/movies will be used.
    • [Optional] <TMP_DOWNLOAD> to store what you download temporarily. The data is moved to <DOWNLOADS_DIR> or <MOVIES_DIR> when finishes. If not set, path /tmp_download inside container will be used.
    • <YOUR_SECRET_CODE> as the rpc-secret for remote downloading trigger.
$ sudo docker run -d \
    --name aria2-with-ariang \
    --user 1000:1000 \
    -p 6800:6800 \
    -p 6880:6880 \
    -p 6888:8080 \
    -v <CONFIG_DIR>:/conf \
    -v <DOWNLOADS_DIR>:/downloads \
    -v <MOVIES_DIR>:/downloads/movies \
    -v <TMP_DOWNLOAD>:/tmp_download \
    -e SECRET=<YOUR_SECRET_CODE> \
    quay.io/murray_liang/aria2-with-ariang
  1. Visit ArigNG GUI on http://<HOST_IP>:6880 and http://<HOST_IP>:6888 to browse data folder.

Docker Compose

  1. Prepare the docker-compose.yml file.

IMPORTANT: Customize below settings:

  • <CONFIG_DIR> to persist your aria2 config on the host.
  • <DOWNLOADS_DIR> to persist what you download.
  • [Optional] <MOVIES_DIR> to persist the movies you download. If not set, <DOWNLOADS_DIR>/movies will be used.
  • [Optional] <TMP_DOWNLOAD> to store what you download temporarily. The data is moved to <DOWNLOADS_DIR> or <MOVIES_DIR> when finishes. If not set, path /tmp_download inside container will be used.
  • <YOUR_SECRET_CODE> as the rpc-secret for remote downloading trigger.

Example of docker-compose.yml

aria2:
    container_name: aria2
    image: quay.io/murray_liang/aria2-with-ariang:latest
    ports:
      - 6800:6800
      - 6880:6880
      - 6888:8080
    volumes:
      - <CONFIG_DIR>:/conf
      - <DOWNLOADS_DIR>:/downloads
      - <MOVIES_DIR>:/downloads/movies
      - <TMP_DOWNLOAD>:/tmp_download
    environment:
      - SECRET=<YOUR_RPC_SECRET>
    restart: unless-stopped
  1. Bring the service up.
# Run this under the folder where `docker-compose.yml` locates
$ sudo docker-compose up -d
  1. Visit ArigNG GUI on http://<HOST_IP>:6880 and http://<HOST_IP>:6888 to browse data folder.

How to Build

$ sudo docker build -f Dockerfile -t quay.io/murray_liang/aria2-with-ariang .

Tips

Set bt-tracker to trackers_best of this repo

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 55.3%
  • Shell 44.7%