File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,9 +67,9 @@ Fetch the template and start the docker-gen container with the shared volume:
67
67
$ mkdir -p /tmp/templates && cd /tmp/templates
68
68
$ curl -o nginx.tmpl https://raw.githubusercontent.com/jwilder/docker-gen/master/templates/nginx.tmpl
69
69
$ docker run -d --name nginx-gen --volumes-from nginx \
70
- -v /var/run/docker.sock:/tmp/docker.sock \
70
+ -v /var/run/docker.sock:/tmp/docker.sock:ro \
71
71
-v /tmp/templates:/etc/docker-gen/templates \
72
- -t jwilder/docker-gen:0.3.4 -notify-sighup nginx -watch -- only-published /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
72
+ -t jwilder/docker-gen -notify-sighup nginx -watch -only-exposed /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
73
73
```
74
74
75
75
===
You can’t perform that action at this time.
0 commit comments