update exmaple startup file

This commit is contained in:
Jeffrey Paul 2020-02-15 10:14:11 -08:00
parent 7083e9c0f1
commit 866b8f4dfd

View File

@ -2,14 +2,11 @@
docker rm -f local-ubuntu-mirror
docker run -d --name local-ubuntu-mirror \
-v /storage/mirrors/ubuntu/ubuntu:/var/mirror/ubuntu \
--env UBUNTU_MIRROR_SOURCE=archive.ubuntu.com \
-v /storage/mirrors/ubuntu:/var/mirror/ubuntu \
--env MIRROR_INTERVAL_SECONDS=10800 \
--env MIRROR_CATEGORIES=main,universe,restricted,multiverse \
--env MIRROR_ARCHITECTURES=amd64 \
--env UBUNTU_MIRROR_PROJECTS=bionic,bionic-updates,bionic-security,bionic-backports,focal,focal-updates,focal-security,focal-backports \
--dns 8.8.8.8 \
--dns 8.8.4.4 \
-p 172.17.0.1:80:80 \
-p 8080:80 \
--restart unless-stopped \
sneak/ubuntumirror:latest