- Notifications
You must be signed in to change notification settings - Fork25
Up to date apt-mirror script, containerized for mirroring + serving.
License
flavienbwk/apt-mirror-docker
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Up to date apt-mirror script, containerized for mirroring + serving.
This repository mergesgeosone's andliedekef's updates from the (sadly) unmaintainedapt-mirror repository
Status : tested & working ✔️
An Ubuntu archive mirror mayupdate every 6 hours (4 times a day, timezone depending on mirror's location). To avoid a bad sync, launch sync of your mirror ~15 minutes after midnight, 6am, noon or 6pm (consider mirror's timezone).
That is to say your download time shoudln't exceed 6 hours to be safe : that's why I recommended usinga cloud provider for download and then retrieve it withrsync for example.
Edit the
mirror.listfile at your convenienceRun the
mirrorcontainer :docker-compose builddocker-compose up mirror
This repository is shipped with the Ubuntu 18.04 default
mirror.list(expect ~210Gb to be downloaded)
Check your mirroring succeeded in
./mirror/mirror/*or typingdu -sh ./mirrorYou are expected to download around210 Gb of files at the time of writing.
Run the server :
docker-compose up -d server
Server will run on
localhost:8080
👉 Feel free to add a reverse proxy or update thenginx configuration file to secure the mirror with SSL/TLS
👉 Feel free to sendpull requests as well !
About
Up to date apt-mirror script, containerized for mirroring + serving.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors3
Uh oh!
There was an error while loading.Please reload this page.