forked from nginx-proxy/acme-companion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request nginx-proxy#772 from nginx-proxy/doc-volume
Update volume-related docs and examples
- Loading branch information
Showing
6 changed files
with
36 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,9 +51,9 @@ $ docker run --detach \ | |
--name nginx-proxy \ | ||
--publish 80:80 \ | ||
--publish 443:443 \ | ||
--volume /etc/nginx/certs \ | ||
--volume /etc/nginx/vhost.d \ | ||
--volume /usr/share/nginx/html \ | ||
--volume certs:/etc/nginx/certs \ | ||
--volume vhost:/etc/nginx/vhost.d \ | ||
--volume html:/usr/share/nginx/html \ | ||
--volume /var/run/docker.sock:/tmp/docker.sock:ro \ | ||
jwilder/nginx-proxy | ||
``` | ||
|
@@ -69,7 +69,7 @@ $ docker run --detach \ | |
--name nginx-proxy-letsencrypt \ | ||
--volumes-from nginx-proxy \ | ||
--volume /var/run/docker.sock:/var/run/docker.sock:ro \ | ||
--volume /etc/acme.sh \ | ||
--volume acme:/etc/acme.sh \ | ||
--env "[email protected]" \ | ||
jrcs/letsencrypt-nginx-proxy-companion | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,10 +28,10 @@ $ docker run --detach \ | |
--publish 80:80 \ | ||
--publish 443:443 \ | ||
--name nginx \ | ||
--volume /etc/nginx/conf.d \ | ||
--volume /etc/nginx/vhost.d \ | ||
--volume /usr/share/nginx/html \ | ||
--volume /etc/nginx/certs \ | ||
--volume conf:/etc/nginx/conf.d \ | ||
--volume vhost:/etc/nginx/vhost.d \ | ||
--volume html:/usr/share/nginx/html \ | ||
--volume certs:/etc/nginx/certs \ | ||
nginx | ||
``` | ||
|
||
|
@@ -61,7 +61,7 @@ $ docker run --detach \ | |
--name nginx-proxy-letsencrypt \ | ||
--volumes-from nginx-proxy \ | ||
--volume /var/run/docker.sock:/var/run/docker.sock:ro \ | ||
--volume /etc/acme.sh \ | ||
--volume acme:/etc/acme.sh \ | ||
--env "NGINX_DOCKER_GEN_CONTAINER=nginx-proxy-gen" \ | ||
--env "[email protected]" \ | ||
jrcs/letsencrypt-nginx-proxy-companion | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ $ docker run --detach \ | |
--name nginx-proxy \ | ||
--publish 80:80 \ | ||
--publish 443:443 \ | ||
--volume /etc/nginx/certs \ | ||
--volume /etc/nginx/vhost.d \ | ||
--volume /usr/share/nginx/html \ | ||
--volume certs:/etc/nginx/certs \ | ||
--volume vhost:/etc/nginx/vhost.d \ | ||
--volume html:/usr/share/nginx/html \ | ||
--volume /var/run/docker.sock:/tmp/docker.sock:ro \ | ||
jwilder/nginx-proxy | ||
``` | ||
|
@@ -39,7 +39,7 @@ $ docker run --detach \ | |
--name nginx-proxy-letsencrypt \ | ||
--volumes-from nginx-proxy \ | ||
--volume /var/run/docker.sock:/var/run/docker.sock:ro \ | ||
--volume /etc/acme.sh \ | ||
--volume acme:/etc/acme.sh \ | ||
--env "[email protected]" \ | ||
jrcs/letsencrypt-nginx-proxy-companion | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters