Merge pull request #307 from haiyanmeng/doc
Add the `--root` flag into the Usage section
This commit is contained in:
commit
22f69061ff
|
|
@ -48,6 +48,7 @@ docker run -d \
|
||||||
registry/git-sync:tag \
|
registry/git-sync:tag \
|
||||||
--repo=https://github.com/kubernetes/git-sync \
|
--repo=https://github.com/kubernetes/git-sync \
|
||||||
--branch=master \
|
--branch=master \
|
||||||
|
--root=/tmp/git/root \
|
||||||
--period=30s
|
--period=30s
|
||||||
|
|
||||||
# run an nginx container to serve the content
|
# run an nginx container to serve the content
|
||||||
|
|
@ -70,10 +71,11 @@ A webhook is configured using a set of CLI flags. At its most basic only `webhoo
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-v /tmp/git-data:/git \
|
-v /tmp/git-data:/tmp/git \
|
||||||
registry/git-sync:tag \
|
registry/git-sync:tag \
|
||||||
--repo=https://github.com/kubernetes/git-sync \
|
--repo=https://github.com/kubernetes/git-sync \
|
||||||
--branch=master \
|
--branch=master \
|
||||||
|
--root=/tmp/git/root \
|
||||||
--period=30s \
|
--period=30s \
|
||||||
--webhook-url="http://localhost:9090/-/reload"
|
--webhook-url="http://localhost:9090/-/reload"
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue