Debian-APT-Mirror
Debian-APT-Mirror
Aplicación Docker from ich777's Repository
Visión general
This container will run apt-mirror and Apache2. This allows you to create a local apt mirror for Debian packages.
On first run you will have to edit the mirror.list file that lives in your CONFIG_DIR which repositories you want to sync and other settings like how many threads to use for downloading,...
Restart the container afterwards (keep an eye on the logs the container will tell you what to do).
ATTENTION/WARNING: Keep in mind that the first sync can take very long depending on how much repositories you've selected (stable main contrib non-free: Will take about 200GB of hard drive space!).
Update from the mirror files: By default a cron job will run every day at 01:00 which will update your mirror.
Mirror address: The default address for the mirror is 'http://ipFROMtheCONTAINER:980'
Add something like this to your '/etc/apt/sources.list': 'deb http://ipFROMtheCONTAINER:980/debian stable main contrib non-free'
Argumentos en tiempo de ejecución
- Interfaz web
http://[IP]:[PORT:980]/- Red
bridge- Concha
bash- Privilegiado
- false
- Parámetros adicionales
--restart=unless-stopped
Configuración de plantillas
Keep in mind that the mirror can consume very much space (stable main contrib non-free: Will take about 200GB of hard drive space!) - you can also put the data directory somewhere on a disk outside the Array or Cache for example with Unassigned Devices.
- Objetivo
- /debian-mirror/data
- Valor
- /mnt/user/appdata/debian-mirror/data/
Configuration directory
- Objetivo
- /debian-mirror/config
- Valor
- /mnt/user/appdata/debian-mirror/config/
Set your cron schedule for your mirror (by default it is set to 01:00 - head over to https://crontab.guru/ to create your own if you want to customize it)
- Objetivo
- CRON_SCHEDULE
- Valor
- 0 1 * * *
Main http port
- Objetivo
- 980
- Valor
- 980
Force update from the mirror on every start/restart of the container.
- Objetivo
- FORCE_UPDATE
- Por defecto
- false|true
- Valor
- false
- Valor
- 770
- Valor
- 99
- Valor
- 100
- Valor
- 0000
If you change this value you also have to delete the old port mapping and create a new one with the appropriate port.
- Objetivo
- APACHE2_PORT
- Valor
- 980
Descargar estadísticas
Descargas totales a lo largo del tiempo
Detalles
ghcr.io/ich777/debian-mirrorEjecute Debian-APT-Mirror en Unraid.
Debian-APT-Mirror se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.