Deploy CCAA with Docker for Offline Download and Online Playback

ccaa dockeraria2 offline downloaddocker deployment guideccaa file browserlinux docker setup
Published·Modified·

CCAA integrates AriaNg, Aria2, and FileBrowser to provide features such as offline downloading and online playback. It supports one-click installation on Debian, Ubuntu, and CentOS, and now also supports deployment via Docker, making installation simple and convenient.

Install Docker

If you are not familiar with how to install Docker, please refer to this article: Linux Install Docker and Common Docker Commands.

Deploy CCAA Image with Docker

After installing Docker, you can deploy CCAA by copying the following command:

docker run --name="ccaa" -d -p 6080:6080 -p 6081:6081 -p 6800:6800 -p 51413:51413 \
    -v /data/ccaaDown:/data/ccaaDown \
    -e PASS="xiaoz.me" \
    helloz/ccaa \
    sh -c "dccaa pass && dccaa start"
  • The first /data/ccaaDown is a local directory where downloaded content by CCAA will be saved. Please set it according to your situation.
  • xiaoz.me is the Aria2 secret key; please modify it to your own password when running.
  • The default username for file management is ccaa, and the password is admin. You can modify it in the backend after logging in.

Allow Ports

CCAA uses the following TCP ports: 6080/6081/6800/51413. Please ensure these ports are allowed in your firewall and security group settings, otherwise, you will not be able to access the service.

# If using iptables
iptables -I INPUT -p tcp --dport 6080 -j ACCEPT
iptables -I INPUT -p tcp --dport 6081 -j ACCEPT
iptables -I INPUT -p tcp --dport 6800 -j ACCEPT
iptables -I INPUT -p tcp --dport 51413 -j ACCEPT
service iptables save
service iptables restart
# If using firewalld
firewall-cmd --zone=public --add-port=6080/tcp --permanent
firewall-cmd --zone=public --add-port=6081/tcp --permanent
firewall-cmd --zone=public --add-port=6800/tcp --permanent
firewall-cmd --zone=public --add-port=51413/tcp --permanent
firewall-cmd --reload

After allowing the ports, access http://IP:6080 to see the AriaNG interface.

Manage CCAA

Use Docker commands to manage CCAA:

# Start CCAA
docker start ccaa
# Stop CCAA
docker stop ccaa
# Restart CCAA
docker restart ccaa
# If you want CCAA to start automatically on system boot
docker update --restart=always ccaa

Conclusion

For more usage instructions, please refer to the documentation: https://www.yuque.com/helloz/ccaa/. If you have any issues, please leave a message on the blog or GitHub.