Sign inSign up

zyao89/aria2-with-webui

By zyao89

•Updated about 6 years ago

This Dockerfile build an image foraria2 with AriaNg frontends.

Image
0

10K+

zyao89/aria2-with-webui repository overview

⁠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 \
zyao89/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 \
-e LOGPATH=/logs.log \
-v /path/to/persist/data:/data \
zyao89/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, 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.

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

⁠Docker Compose

version: "3"

services:
  aria2:
    container_name: aria2
    image: zyao89/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
      - LOGPATH=/logs.log
    volumes:
      - /path/to/persist/data:/data

⁠Thanks

This docker image is based on onisuly⁠'s docker image.

Tag summary

Content type

Image

Digest

Size

10.7 MB

Last updated

about 6 years ago

docker pull zyao89/aria2-with-webui