@@ -28,7 +28,7 @@ services:
2828 - proxy_confd:/etc/nginx/conf.d
2929 - proxy_vhostd:/etc/nginx/vhost.d
3030 - ../volumes/certs:/etc/nginx/certs:ro
31- - ../web/nginx :/usr/share/nginx/html:rw
31+ - proxy_html :/usr/share/nginx/html
3232 logging :
3333 driver : syslog
3434 options :
@@ -45,9 +45,9 @@ services:
4545 volumes :
4646 - proxy_confd:/etc/nginx/conf.d
4747 - proxy_vhostd:/etc/nginx/vhost.d
48+ - ../volumes/certs:/etc/nginx/certs:ro
4849 - /var/run/docker.sock:/tmp/docker.sock:ro
4950 - ../etc/nginx/nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl:ro
50- - ../volumes/certs:/etc/nginx/certs:ro
5151 logging :
5252 driver : " json-file"
5353 options : { max-size: "1m", max-file: "3" }
@@ -57,6 +57,7 @@ services:
5757 image : jrcs/letsencrypt-nginx-proxy-companion
5858 restart : unless-stopped
5959 environment :
60+ NGINX_PROXY_CONTAINER : proxy_nginx
6061 NGINX_DOCKER_GEN_CONTAINER : proxy_generator
6162 networks :
6263 - proxy
@@ -65,7 +66,6 @@ services:
6566 - proxy_vhostd:/etc/nginx/vhost.d
6667 - /var/run/docker.sock:/var/run/docker.sock:ro
6768 - ../volumes/certs:/etc/nginx/certs:rw
68- - ../web/nginx:/usr/share/nginx/html:rw
6969 logging :
7070 driver : " json-file"
7171 options : { max-size: "1m", max-file: "3" }
0 commit comments