offline download solution

aria2 ariang

docker pull

1
2
docker pull p3terx/aria2
docker pull p3terx/ariang

docker compose

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: "3.3"

services:
Aria2-Pro:
container_name: aria2-pro
image: p3terx/aria2-pro
environment:
- PUID=65534
- PGID=65534
- UMASK_SET=022
- RPC_SECRET=GTX690
- RPC_PORT=6800
- LISTEN_PORT=6888
- DISK_CACHE=512M
- IPV6_MODE=false
- UPDATE_TRACKERS=true
- CUSTOM_TRACKER_URL=
- TZ=Asia/Shanghai
volumes:
- ./config:/config
- /mnt/slab/Downloads:/downloads
network_mode: bridge
ports:
- 6800:6800
- 6888:6888
- 6888:6888/udp
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 1m

AriaNg:
container_name: ariang
image: p3terx/ariang
network_mode: bridge
ports:
- 10002:6880
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 1m

config

1
cat ~/Applications/aria2/config/script.conf

Reference

https://p3terx.com/archives/docker-aria2-pro.html