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