Scripted setup of a working Chaotic-AUR mirror using Docker
Go to file
Gontier Julien 44786fd4e7 Just aestetic and more logical placement for restart.
Signed-off-by: Gontier Julien <gontierjulien68@gmail.com>
2022-09-18 18:54:00 +02:00
preset update nginx cache matching rules 2022-07-30 20:03:56 +02:00
README.md Another one 2022-01-22 21:18:56 +01:00
docker-compose-tunnels.yml Just aestetic and more logical placement for restart. 2022-09-18 18:54:00 +02:00
docker-compose.yml Just aestetic and more logical placement for restart. 2022-09-18 18:54:00 +02:00
run Add RESTART env variable 2022-07-23 20:41:50 +02:00
stop support non x86_64 architectures 2022-07-11 20:20:20 +02: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! :)