move startup script
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-02-15 10:14:26 -08:00
parent 866b8f4dfd
commit 3e27d9bf26

12
bin/start-local-mirror.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
docker rm -f local-ubuntu-mirror
docker run -d --name local-ubuntu-mirror \
-v /storage/mirrors/ubuntu:/var/mirror/ubuntu \
--env MIRROR_INTERVAL_SECONDS=10800 \
--env MIRROR_ARCHITECTURES=amd64 \
--dns 8.8.8.8 \
--dns 8.8.4.4 \
-p 8080:80 \
--restart unless-stopped \
sneak/ubuntumirror:latest