Skip to content

Commit

Permalink
Update docker-compose.yaml
Browse files Browse the repository at this point in the history
兼容最新证书申请脚本
  • Loading branch information
expoli authored Jan 4, 2021
1 parent a41ee97 commit f9bdd33
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ services:
proxy:
build: ./proxy
restart: always
container_name: bolo_nginx_proxy
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
com.github.jrcs.letsencrypt_nginx_proxy_companion.docker_gen: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
Expand All @@ -59,7 +61,8 @@ services:
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
dns: 8.8.8.8
# environment:
environment:
- NGINX_DOCKER_GEN_CONTAINER=bolo_nginx_proxy # nginx 容器名称
# - DEFAULT_EMAIL=
networks:
- proxy-tier
Expand Down Expand Up @@ -92,4 +95,4 @@ volumes:
html:

networks:
proxy-tier:
proxy-tier:

0 comments on commit f9bdd33

Please sign in to comment.