Skip to content

Instantly share code, notes, and snippets.

@abidzk01
Created October 10, 2025 05:23
Show Gist options
  • Select an option

  • Save abidzk01/8a2b12c0b06f6845ffec688e67a14ad4 to your computer and use it in GitHub Desktop.

Select an option

Save abidzk01/8a2b12c0b06f6845ffec688e67a14ad4 to your computer and use it in GitHub Desktop.
name: aria2
services:
aria2:
cpu_shares: 90
command: []
container_name: aria2
deploy:
resources:
limits:
memory: 256M
reservations:
memory: "67108864"
environment:
- ARIA2_LISTEN_PORT=6881
- ARIA2_RPC_LISTEN_PORT=6800
- ARIA2_RPC_SECRET=passwordku
- ARIA2_TRACKERS_LIST_URL=https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_ip.txt
- ARIA2_TRACKERS_UPDATE_AUTO=true
- GID=1000
- UID=1000
- UMASK=022
hostname: aria2
image: johngong/aria2:latest
labels:
icon: https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/aria2/icon.png
ports:
- mode: ingress
target: 6881
published: "6881"
protocol: tcp
- mode: ingress
target: 6881
published: "6881"
protocol: udp
- mode: ingress
target: 6800
published: "6800"
protocol: tcp
- mode: ingress
target: 8080
published: "6880"
protocol: tcp
restart: unless-stopped
volumes:
- type: bind
source: /DATA/AppData/aria2/config
target: /config
bind:
create_host_path: true
- type: bind
source: /media/devmon/exData/Aria2
target: /Downloads
bind:
create_host_path: true
devices: []
cap_add: []
network_mode: bridge
privileged: false
x-casaos:
architectures:
- amd64
- arm
- arm64
author: Cp0204
category: Downloader
description:
en_us: Aria2 is a lightweight multi-protocol & multi-source command-line
download utility. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and
Metalink.
zh_cn: Aria2 是一款轻量级的多协议和多源命令行下载工具。它支持 HTTP/HTTPS、FTP、SFTP、BitTorrent 和 Metalink 。
developer: johngong
hostname: aria.xnxx.my.id
icon: https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/aria2/icon.png
index: /#!/downloading
is_uncontrolled: false
main: aria2
port_map: ""
scheme: http
screenshot_link:
- https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/aria2/screenshot-1.png
- https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/aria2/screenshot-2.png
store_app_id: aria2
tagline:
en_us: The lightweight multi-protocol & multi-source command-line download utility
zh_cn: 轻量级的多协议和多源命令行下载工具
thumbnail: https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/aria2/thumbnail.png
tips:
before_install:
en_us: >
Aria2 itself is a download kernel with no admin panel. This application
integrates with WebUI [AriaNg](http://ariang.mayswind.net) for graphical
management, but you still **need to set up the AriaNg connection
information manually** after installation:
| Environment | Default | Description |
| --- | --- | --- |
| ARIA2_RPC_SECRET | `token` | RPC SecretKey |
| ARIA2_RPC_LISTEN_PORT | `6800` | RPC Port |
Alternatively, you can use a mobile app to connect to the management, e.g. [Aria2App](https://github.com/devgianlu/Aria2App).
**NOTE**: Changes to Aria2 settings using the third-party panel will only be saved for that sub-process, and will not modify the configuration file; if permanently modified, you should manually modify the Aria2 configuration file.
zh_cn: >
Aria2 本身是一个下载核心,没有管理面板。本应用集成 WebUI [AriaNg](http://ariang.mayswind.net)
供图形化管理,但安装后你仍然**需要手动设置 AriaNg 连接信息**:
| 环境变量 | 默认值 | 说明 |
| --- | --- | --- |
| ARIA2_RPC_SECRET | `token` | RPC秘钥 |
| ARIA2_RPC_LISTEN_PORT | `6800` | RPC端口 |
此外,你也可以使用手机应用连接管理,例如:[Aria2App](https://github.com/devgianlu/Aria2App)。
**注意**:使用第三方面板对 Aria2 设置的修改只会保存在该次进程中,不会修改配置文件,如果永久修改,你应该手动修改Aria2配置文件。
title:
custom: ""
en_us: Aria2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment