Skip to content

Docker container for aria2 with integrated AriaNg frontends.

Notifications You must be signed in to change notification settings

onisuly/docker-aria2-with-webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Aria2, with integrated Aria2-NG Frontends

Docker Build Status Docker Automated build Docker Stars Docker Pulls

This Dockerfile build an image for aria2 with AriaNg frontends.

Quick Start

docker run -d --name aria2-webui \
-p 80:80 -p 6800:6800 \
onisuly/aria2-with-webui

Advanced

docker run -d --name aria2-webui \
-p 80:80 -p 6800:6800 \
-e PGID=1000 \
-e PUID=1000 \
-e SECRET=your_password \
-e SECURE=true \
-e CERTIFICATE=/server/path/to/your_cert \
-e PRIVATEKEY=/server/path/to/your_key \
-v /path/to/persist/data:/data \
onisuly/aria2-with-webui

Which will make the Aria2 client accessible over HTTP from port 6800, with the WebUI being accessible from 80. If you define SECRET or SECRET_FILE, this token can be used to communicate with the Aria2 daemon. Define SECURE as true and pass the cert and private key, to enable aria2 RPC transport encrypted by SSL/TLS.

The file allocation method can be defined with FILE_ALLOCATION and IPv6 support can be enabled by defining IPV6 as true.

If you want to use your own aria2 configuration file, you need to mount the /conf folder to a volume.

Docker Compose

version: "3"

services:
  aria2:
    container_name: aria2
    image: onisuly/aria2-with-webui
    restart: always
    ports:
      - "6800:6800"
      - "80:80"
    environment:
      - PGID=${PGID:-1000}
      - PUID=${PUID:-1000}
      - SECRET=your_password
      - SEEDRATIO=2
      - SEEDTIME=0
      - SECURE=true
      - CERTIFICATE=/server/path/to/your_cert
      - PRIVATEKEY=/server/path/to/your_key
      - FILE_ALLOCATION=falloc
      - IPV6=true
    volumes:
      - /path/to/persist/data:/data

Thanks:

This docker image is based on abcminiuser & xujinkai's docker image.

About

Docker container for aria2 with integrated AriaNg frontends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •