docker-archlinux-mirror
A docker image for people that want to become an archlinux mirror.
NGINX serves the files via HTTP. For HTTPs, connect this image to the internet via a "proxy" which will provide the HTTPs endpoint.
How to use ?
Just docker-compose build && docker-compose up -d
. The data will be stored on
a volume. It is then persistent.
Which upstream mirror to choose ?
By default it uses the upstream mirror.de.leaseweb.net
mirror, but you can change that following your network distance
to another upstream simply by changing the update/mirror.sh
file.
The synchronisation date is set randomly at the launching of the image and
occurs every 2 hours. You can change this time editing the update/mirror.sh
file.