my-homelab-configs/infra/artifact-cache/README.md

641 B

Homelab Artifact Cache

This optional Debian-host stack caches repeated downloads during rebuilds.

  • apt-cacher-ng on port 3142 for Debian/Ubuntu apt packages
  • Docker registry pull-through cache on port 5001 for Docker Hub images

It is intentionally separate from the main homelab pipeline. Start it when you want faster rebuilds and a little more tolerance for upstream outages.

cd infra/artifact-cache
docker compose up -d

Client examples:

echo 'Acquire::http::Proxy "http://192.168.100.73:3142";' | sudo tee /etc/apt/apt.conf.d/01homelab-cache
docker pull 192.168.100.73:5001/library/debian:bookworm