Docker Compose Alist + Aria2-Pro
This is a docker compose
setup guide for deploying Alist
and Aria2-Pro. The combination of these two apps is a good solution to
mounting cloud drives and downloading files.
With the help of Docker Compose, you can deploy and set up these apps in just a few minutes.
Before You Start
- You should have Docker Desktop or Docker Engine installed on your machine.
- Since we're going to deploy these apps via Docker Compose, the
compose
plugin should also be enabled. Docker Desktop
is for Windows, macOS and Linux desktops, andDocker Engine
is for Linux servers.
Deploy Containers with Docker Compose
- Clone this repository to where you want to deploy the apps on your machine. All files will be stored
in current working directory, aka
${PWD}
, by default. If you wish to modify storages, you can do so by modifying the volumes section in the docker-compose.yml file. - Set a
RPC_SECRET
forAria2-Pro
in docker-compose.yml file. - Run
docker compose up -d
ordocker-compose up -d
within the repository to deploy the containers.
š„³ Congrats! You have just deployed the containers.
Visit The Apps with Your Docker Machine's IP Address in Browser
To avoid some network issue, it is recommended to visit all apps using the docker machine's IP address, instead
of localhost
or 127.0.0.1
.
For example, the IP address of my machine is 192.168.1.20
, I'll just visit Alist using http://192.168.1.20:5244/
.
You can check your IP address by running ifconfig
or ipconfig
in your terminal.
APP | URL |
---|---|
Alist | http://${IP_ADDRESS}:5244 |
Aria2 RPC | http://${IP_ADDRESS}:6800 |
AriaNg | http://${IP_ADDRESS}:6880 |
Setup Alist
To manage Alist
, you must first obtain the default password generated at startup by running this
command: docker exec -it alist ./alist -password
.
Now you can visit Alist in your browser: http://${IP_ADDRESS}:5244/
.
Connect Aria2-Pro
In Alist
's Settings
area, please open Backend
tab to configure the Aria2's RPC access.
- Find
Aria2 RPC url
, set it tohttp://${IP_ADDRESS}:6800/jsonrpc
. - Find
Aria2 RPC secret
, set it to theRPC_SECRET
you have configured in docker-compose.yml.
Mount Cloud Drives
You can mount your Cloud Drives in Alist
's Accounts
area.
Manage Download Tasks In AriaNg
- Open
RPC
tab inhttp://${IP_ADDRESS}:6880/#!/settings/ariang
. - Set your
RPC_SECRET
in theAria2 RPC Secret
field. - Click
Reload
button on popup, and you're good to go.