HoangTheBoss / docker-archlinux-mirror

A docker image for persons that want to become an archlinux mirror

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A docker image for persons that want to become an archlinux mirror


Languages

Language:Shell 57.2%Language:Dockerfile 42.8%