All apps · 0 apps
ManjaroMirror
Docker app from cobb's Repository
Overview
Readme
View on GitHubmanjaro-package-mirror
Docker container which mirrors manjaro packages and serves them via nginx
This image is based on the alpine image and uses rsync to synchronize the packages and nginx to deliver them
Supported Architectures
The image is created for the amd64 and arm64 platforms and is available in the Github Container Registry.
Parameters
A container can be started with various parameters to make changes to the default configuration, expose ports, and persist data. For example, -p 8080:80 would expose port 80 inside the container for access from outside via port 8080. The following parameters are available for this image:
| Parameter | Function |
|---|---|
-p 8080:80 |
Binds container port 80 to host port 8080 |
-v /path/to/storage:/srv/http/manjaro |
Persists the package repository data under /path/to/storage |
-e SOURCE_MIRROR=rsync://mirrorservice.org/repo.manjaro.org/repos/ |
Allows to use another mirror for synchronization |
-e SLEEP=6h |
Adjusts the pause time between synchronizations |
Recommended Rsync Mirrors (Source: wiki.manjaro.org)
Manjaro has provided a list of Rsync-capable mirrors at https://wiki.manjaro.org/index.php/Manjaro_Mirrors, which synchronize from the official Manjaro server. It's best to choose the one closest to you.
| Region | URI |
|---|---|
| Asia / Japan | rsync://ftp.tsukuba.wide.ad.jp/manjaro |
| Europe / Germany | rsync://ftp.halifax.rwth-aachen.de/manjaro/ |
| Europe / Sweden | rsync://ftp.lysator.liu.se/pub/manjaro/ |
| Europe / Italy | rsync://manjaro.mirror.garr.it/manjaro/ |
| Europe / United Kingdom | rsync://mirrorservice.org/repo.manjaro.org/repos/ |
| RU / Russian Federation | rsync://mirror.yandex.ru/mirrors/manjaro/ |
Usage
The container can be started either with docker run or docker-compose
Please note: It may initially take up to 5 minutes for the first files to load. It is not an error if no log output is displayed until then. Please make sure to choose a suitable directory for persistence before running the container and replace the placeholder "/path/to/storage" chosen here with it.
docker-compose (recommended)
---
version: "3.4"
services:
manjaro-mirror:
container_name: manjaro-mirror
image: ghcr.io/tobiaswx/manjaro-package-mirror
volumes:
- /path/to/storage:/srv/http/manjaro
ports:
- 8080:80
restart: unless-stopped
docker run
docker run -d \
--name=manjaro-mirror \
-p 8080:80 \
-v /path/to/storage:/srv/http/manjaro \
--restart unless-stopped \
ghcr.io/tobiaswx/manjaro-package-mirror
Install ManjaroMirror on Unraid in a few clicks.
Find ManjaroMirror in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.
Download Statistics
Related apps
Explore more like this
Explore allDetails
cobbert/manjaro-package-mirrorRuntime arguments
- Web UI
http://[IP]:[PORT:80]- Network
bridge- Shell
bash- Privileged
- false
Template configuration
Location of mirror files
- Target
- /srv/http/manjaro
- Value
- /mnt/cache_nvme/appdata/manjaro-mirror
- Target
- 80
- Value
- 8891
Adjusts the pause time between synchronizations
- Default
- 6h
- Value
- 6h
Manjaro has provided a list of Rsync-capable mirrors at https://wiki.manjaro.org/index.php/Manjaro_Mirrors, which synchronize from the official Manjaro server. It's best to choose the one closest to you.
- Target
- SOURCE_MIRROR
- Default
- rsync://mirrorservice.org/repo.manjaro.org/repos/
- Value
- rsync://mirrorservice.org/repo.manjaro.org/repos/