Scripted setup of a working Chaotic-AUR mirror using Docker
Go to file
Jyotirmoy Bandyopadhayaya f04eb776cb Update 'update' 2023-02-20 06:10:25 +00:00
preset Retroactively change minDiskFree to avoid hardlocks of mirrors 2022-11-26 07:56:25 +01:00
.gitignore keep custom.diff in gitignore 2022-11-27 01:06:42 +01:00
README.md Another one 2022-01-22 21:18:56 +01:00
docker-compose-tunnels.yml Improvements and bug fixes 2022-11-27 01:01:43 +01:00
docker-compose.yml Improvements and bug fixes 2022-11-27 01:01:43 +01:00
run Update 'run' 2023-01-15 07:15:43 +00:00
stop Update 'stop' 2023-01-15 07:16:18 +00:00
update Update 'update' 2023-02-20 06:10:25 +00:00

README.md

Chaotic-AUR mirror Docker setup

This repo provides an easy to way to setup a new Chaotic-AUR mirror. This will deploy Syncthing for syncing the repo and Nginx as webserver. The following steps need to be taken:

sudo pacman -Syu docker docker-compose
git clone https://github.com/chaotic-aur/docker-mirror.git
cd docker-mirror
sudo ./run

You will be asked for:

  • A domain that will serve the mirror (needs to be setup prior to starting the process)
  • Email address for obtaining a SSL certificate

After that, docker-compose will fetch the needed containers. Syncthing will be available at port 8384 while the mirror can be reached using the domain name. Syncthing devices need to be confirmed by us, so it might take some time for syncing to actually start. Then, create a new issue at the packages repo to have the mirror added to mirrorlist and geo-mirror. Questions left? Feel free to create an issue or join the Telegram group to ask them! :)