Update README.md

This commit is contained in:
kongkrit 2020-01-29 15:59:00 +07:00 committed by GitHub
parent 7c17b7dcc5
commit 4763710dd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -6,9 +6,14 @@ Using Docker to construct your APT(Advanced Packaging Tools) mirror HTTP server.
### Basic command: ### Basic command:
``` ```
docker run -d \ docker run -d --restart always \
-e TIMEOUT=4h -e PUID=1000 -e PGID=100 \
-e MIRROR_URL=http://archive.ubuntu.com/ubuntu \
-e EXTRA1="deb http://ppa.launchpad.net/jonathonf/zfs/ubuntu bionic main" \
-e EXTRA2="deb http://ppa.launchpad.net/wireguard/wireguard/ubuntu bionic main" \
-v /path/data:/var/www/html/ \ -v /path/data:/var/www/html/ \
-p 8080:80 kongkrit/apt-mirror-apache2 --name apt-mirror \
-p 81:80 kongkrit/apt-mirror-apache2
``` ```
* `-v /path/data`: the path which you want to store data * `-v /path/data`: the path which you want to store data