Same as ../basic/, but pins upstream Ubuntu and Debian mirrors
via CLI flags. Useful when geo-detection picks a slow mirror, or when you
want a fixed, reproducible upstream.
The compose file passes flags to the container:
command: --ubuntu=cn:tsinghua --debian=cn:tsinghuaBoth cn:tsinghua and cn:ustc (and a handful of other shortcuts) are
built-in aliases. You can also pass full URLs:
command: >-
--ubuntu=https://mirrors.tuna.tsinghua.edu.cn/ubuntu/
--debian=https://mirrors.ustc.edu.cn/debian/cd examples/specify-mirrors
docker compose up -dcurl -I http://127.0.0.1:3142/healthz
curl -x http://127.0.0.1:3142 \
http://archive.ubuntu.com/ubuntu/dists/noble/ReleaseThe same overrides can live in ../config-template/apt-proxy.yaml
under the mirrors: block — handy if you also want to tune cache size,
TLS, or storage backend at the same time.