Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 924 Bytes

readme.md

File metadata and controls

33 lines (17 loc) · 924 Bytes

Docker for aria2c

this Docker Image is for testing, Please use checkout this https://github.com/BGmi/BGmi#docker

Configuration

RPC_SECRET: rpc secret

DOWNLOAD_DIR: download dir, default /downloads

be careful with DOWNLOAD_DIR, it's path inside the container, you need to mount host path in container.

CONCURRENT_DOWNLOADS: limits the number of items which are downloaded concurrently

SPLIT: Download a file using N connections. default: 4

CONNECTIONS_PER_SERVER: max connection per server. default: 4

USER_AGENT: download user agent, default aria2c default user agent.

FILE_ALLOCATION: Specify file allocation method. default none

ALLOW_OVERWRITE: default true

AUTO_FILE_RENAMING:default: false

configuration

you can mount your config file to /etc/aria2.conf to override inner config file.

When mounting your own config file, all environment variable won't work.