-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathAria2-Pro.xml
117 lines (117 loc) · 6.7 KB
/
Aria2-Pro.xml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0"?>
<Container version="2">
<Name>Aria2-Pro</Name>
<Repository>p3terx/aria2-pro</Repository>
<Registry>https://hub.docker.com/r/p3terx/aria2-pro</Registry>
<Network>host</Network>
<MyIP/>
<Shell>bash</Shell>
<Privileged>false</Privileged>
<Support/>
<Project>https://github.com/P3TERX/Docker-Aria2-Pro</Project>
<Overview>Aria2 Pro | A perfect Aria2 Docker image.</Overview>
<Category>Downloaders: Tools:</Category>
<WebUI>http://ariang.js.org/</WebUI>
<TemplateURL/>
<Icon>https://cdn.jsdelivr.net/gh/P3TERX/unraid-docker-templates/P3TERX/icons/Aria2-Pro.png</Icon>
<ExtraParams>--log-opt max-size=1m</ExtraParams>
<PostArgs/>
<CPUset/>
<DateInstalled>1645603690</DateInstalled>
<DonateText/>
<DonateLink/>
<Description>Aria2 Pro | A perfect Aria2 Docker image.</Description>
<Networking>
<Mode>host</Mode>
<Publish/>
</Networking>
<Data>
<Volume>
<HostDir>/mnt/user/shua/</HostDir>
<ContainerDir>/downloads</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/appdata/Aria2-Pro</HostDir>
<ContainerDir>/config</ContainerDir>
<Mode>rw</Mode>
</Volume>
</Data>
<Environment>
<Variable>
<Value>1000</Value>
<Name>PUID</Name>
<Mode/>
</Variable>
<Variable>
<Value>100</Value>
<Name>PGID</Name>
<Mode/>
</Variable>
<Variable>
<Value>xxxxxx</Value>
<Name>RPC_SECRET</Name>
<Mode/>
</Variable>
<Variable>
<Value>6800</Value>
<Name>RPC_PORT</Name>
<Mode/>
</Variable>
<Variable>
<Value>21881</Value>
<Name>LISTEN_PORT</Name>
<Mode/>
</Variable>
<Variable>
<Value>true</Value>
<Name>IPV6_MODE</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>UMASK_SET</Name>
<Mode/>
</Variable>
<Variable>
<Value>true</Value>
<Name>IPV6_MODE</Name>
<Mode/>
</Variable>
<Variable>
<Value>64M</Value>
<Name>DISK_CACHE</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>UPDATE_TRACKERS</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>CUSTOM_TRACKER_URL</Name>
<Mode/>
</Variable>
<Variable>
<Value>Asia/Shanghai</Value>
<Name>TZ</Name>
<Mode/>
</Variable>
</Environment>
<Labels/>
<Config Name="User UID" Target="PUID" Default="1000" Mode="" Description="用户映射" Type="Variable" Display="always-hide" Required="true" Mask="false">1000</Config>
<Config Name="User GID" Target="PGID" Default="100" Mode="" Description="用户组映射" Type="Variable" Display="always-hide" Required="true" Mask="false">100</Config>
<Config Name="RPC 密钥" Target="RPC_SECRET" Default="xxxxxx" Mode="" Description="RPC 密钥设置,即 WebUI 连接时需要填写的密码,只建议使用字母和数字。如果没有设置,配置文件中的默认密码为P3TERX。" Type="Variable" Display="always-hide" Required="true" Mask="true">xxxxxx</Config>
<Config Name="RPC 端口设置" Target="RPC_PORT" Default="6800" Mode="" Description="RPC 端口设置" Type="Variable" Display="always-hide" Required="true" Mask="false">6800</Config>
<Config Name="BT 监听端口" Target="LISTEN_PORT" Default="21881" Mode="" Description="BT 监听端口(TCP)、DHT 监听端口(UDP)设置" Type="Variable" Display="always-hide" Required="true" Mask="false">21881</Config>
<Config Name="下载目录" Target="/downloads" Default="/downloads" Mode="rw" Description="下载目录" Type="Path" Display="always-hide" Required="true" Mask="false">/mnt/user/shua/</Config>
<Config Name="配置文件目录" Target="/config" Default="/mnt/user/appdata/Aria2-Pro" Mode="rw" Description="配置目录映射,配置文件持久化" Type="Path" Display="always-hide" Required="true" Mask="false">/mnt/user/appdata/Aria2-Pro</Config>
<Config Name="IPV6模式开关" Target="IPV6_MODE" Default="" Mode="" Description="开启 IPv6 模式。此变量等同于设定配置文件中的选项disable-ipv6=false与enable-dht6=true。可间接提升 BT 下载速率,但需要网络完整支持 IPv6 ,否则会导致部分功能异常,甚至无法下载。" Type="Variable" Display="always" Required="false" Mask="false">true</Config>
<Config Name="Umask Setting" Target="UMASK_SET" Default="" Mode="" Description="For umask setting of Aria2, optional , default if left unset is 022" Type="Variable" Display="advanced-hide" Required="false" Mask="false"/>
<Config Name="Enable IPv6 Mode" Target="IPV6_MODE" Default="" Mode="" Description="Whether to enable IPv6 support for Aria2. Optional: true | false. Set the options 'disable-ipv6=false' and 'enable-dht6=true' in the configuration file(aria2.conf)." Type="Variable" Display="advanced-hide" Required="false" Mask="false">true</Config>
<Config Name="Aria2 Disk Cache(aria2.conf)" Target="DISK_CACHE" Default="" Mode="" Description="Set up disk cache. SIZE can include K or M (1K = 1024, 1M = 1024K), e.g 64M." Type="Variable" Display="advanced-hide" Required="false" Mask="false">64M</Config>
<Config Name="Update BT Trackers List" Target="UPDATE_TRACKERS" Default="" Mode="" Description="Whether to update BT Trackers List automatically. Optional: true | flase, default if left unset is true" Type="Variable" Display="advanced-hide" Required="false" Mask="false"/>
<Config Name="BT Trackers List URL" Target="CUSTOM_TRACKER_URL" Default="" Mode="" Description="Custom BT Trackers List URL. If not set, get from https://trackerslist.com/all_aria2.txt." Type="Variable" Display="advanced-hide" Required="false" Mask="false"/>
<Config Name="Time Zone" Target="TZ" Default="Asia/Shanghai" Mode="" Description="Specify a timezone to use e.g. Asia/Shanghai" Type="Variable" Display="advanced-hide" Required="false" Mask="false">Asia/Shanghai</Config>
</Container>