This commit is contained in:
Jeffrey Paul 2020-02-15 11:41:56 -08:00
parent 1256279e1c
commit 0d8f43c685
2 changed files with 4 additions and 4 deletions

View File

@ -48,15 +48,15 @@ docker run -d --name local-ubuntu-mirror \
--env UBUNTU_MIRROR_PROJECTS=focal,focal-updates,focal-security,focal-backports \
-p 8080:80 \
--restart unless-stopped \
sneak/ubuntumirror:latest
sneak/ubuntumirror@sha256:7de7cc8245106bb574029a2dedca5aa218af08d802b989cdc7857fb57f876a02
```
# Example CapRover Definition File
```
{
{
"schemaVersion": 2,
"imageName": "sneak/ubuntumirror:latest"
"imageName": "sneak/ubuntumirror@sha256:7de7cc8245106bb574029a2dedca5aa218af08d802b989cdc7857fb57f876a02"
}
```

View File

@ -9,5 +9,5 @@ rm -rf /var/mirror/ubuntu/.temp
while sleep 1 ; do
cd /opt/mirror && make
sleep ${MIRROR_INTERVAL_SECONDS}
sleep ${MIRROR_UPDATE_INTERVAL_SECONDS}
done