mirror of
https://github.com/chevereto/docker.git
synced 2025-12-16 13:09:47 +01:00
close #40
This commit is contained in:
2
Makefile
2
Makefile
@@ -195,6 +195,7 @@ proxy:
|
||||
--net nginx-proxy \
|
||||
--publish 80:80 \
|
||||
--publish 443:443 \
|
||||
--restart=always \
|
||||
--volume certs:/etc/nginx/certs \
|
||||
--volume vhost:/etc/nginx/vhost.d \
|
||||
--volume html:/usr/share/nginx/html \
|
||||
@@ -205,6 +206,7 @@ proxy:
|
||||
@docker run \
|
||||
--detach \
|
||||
--name nginx-proxy-acme \
|
||||
--restart=always \
|
||||
--volumes-from nginx-proxy \
|
||||
--volume acme:/etc/acme.sh \
|
||||
--mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock,readonly \
|
||||
|
||||
Reference in New Issue
Block a user