mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 03:46:29 +00:00
Fix command line usage
This commit is contained in:
parent
e0bf18f041
commit
b71c45abc0
@ -44,7 +44,7 @@ Then start the docker-gen container with the shared volume and template:
|
|||||||
```
|
```
|
||||||
$ docker run --volumes-from nginx \
|
$ docker run --volumes-from nginx \
|
||||||
-v /var/run/docker.sock:/tmp/docker.sock \
|
-v /var/run/docker.sock:/tmp/docker.sock \
|
||||||
-v $(pwd)/templates:/etc/docker-gen/templates
|
-v $(pwd):/etc/docker-gen/templates \
|
||||||
-t docker-gen -notify-sighup nginx -watch --only-published /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
|
-t docker-gen -notify-sighup nginx -watch --only-published /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user