Skip to content

Instantly share code, notes, and snippets.

@zhangyangjing
Created December 8, 2019 16:24
Show Gist options
  • Select an option

  • Save zhangyangjing/5bd78b3b8eeab3f0b7f8819f742e5478 to your computer and use it in GitHub Desktop.

Select an option

Save zhangyangjing/5bd78b3b8eeab3f0b7f8819f742e5478 to your computer and use it in GitHub Desktop.
aria2-docker
dir=/data
continue=true
input-file=/conf/aria2.session
save-session=/conf/aria2.session
save-session-interval=60
force-save=true
enable-mmap=true
disk-cache=512M
file-allocation=falloc
log-level=warn
enable-http-pipelining=true
bt-detach-seed-only=true
max-concurrent-downloads=10
max-connection-per-server=16
min-split-size=10M
split=10
max-overall-download-limit=0
max-overall-upload-limit=1K
enable-rpc=true
rpc-listen-all=true
rpc-allow-origin-all=true
rpc-listen-port=6800
enable-dht=true
listen-port=6900
dht-listen-port=6900
# dht-listen-port=6881-6999
bt-enable-lpd=true
enable-peer-exchange=true
dht-file-path=/conf/dht.dat
bt-max-peers=100
bt-tracker=udp://tracker.coppersurfer.tk:6969/announce,udp://tracker.leechers-paradise.org:6969/announce,udp://9.rarbg.to:2710/announce,udp://9.rarbg.me:2710/announce,udp://tracker.opentrackr.org:1337/announce,udp://tracker.internetwarriors.net:1337/announce,udp://exodus.desync.com:6969/announce,udp://tracker.tiny-vps.com:6969/announce,udp://retracker.lanta-net.ru:2710/announce,udp://open.demonii.si:1337/announce,udp://tracker.torrent.eu.org:451/announce,udp://torrentclub.tech:6969/announce,udp://open.stealth.si:80/announce,udp://denis.stalker.upeer.me:6969/announce,udp://tracker.cyberia.is:6969/announce,udp://tracker.moeking.me:6969/announce,udp://ipv4.tracker.harry.lu:80/announce,udp://tracker.openbittorrent.com:80/announce,udp://tracker3.itzmx.com:6961/announce,udp://explodie.org:6969/announce
docker run -d --name aria2-with-webui --restart=always -p 6800:6800 -p 6900:6900 -p 6900:6900/udp -p 9100:80 -v /mnt/storage/aria2/data:/data -v /mnt/storage/aria2/conf:/conf -v /mnt/storage/aria2/conf/logs.txt:/logs.txt -e PGID=`id -g $USER` -e PUID=`id -u $USER` abcminiuser/docker-aria2-with-webui:latest-ng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment