ManjaroMirror

ManjaroMirror

Docker app from cobb's Repository

Overview

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. 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/

manjaro-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.

Open the Apps tab on your Unraid server Search Community Apps for ManjaroMirror Review the template variables and paths Click Install

Download Statistics

312
Total Downloads

Related apps

Details

Repository
cobbert/manjaro-package-mirror
Last Updated2024-08-24
First Seen2024-09-04

Runtime arguments

Web UI
http://[IP]:[PORT:80]
Network
bridge
Shell
bash
Privileged
false

Template configuration

mirror-pathPathrw

Location of mirror files

Target
/srv/http/manjaro
Value
/mnt/cache_nvme/appdata/manjaro-mirror
Host Port 1Porttcp
Target
80
Value
8891
SLEEPVariable

Adjusts the pause time between synchronizations

Default
6h
Value
6h
SourceVariable

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/