add certs containers

This commit is contained in:
2019-07-12 20:42:58 +10:00
parent 8ad37cc4b9
commit a322dbff0f
+17 -1
View File
@@ -1,15 +1,27 @@
version: "3.5"
services:
ngxin-proxy:
nginx-proxy:
container_name: nginx-proxy
restart: unless-stopped
ports:
- 80:80
- 443:443
image: jwilder/nginx-proxy:alpine
volumes:
- nginx-certs:/etc/nginx
- nginx-html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
environment:
- DEFAULT_HOST="*.home.toozhao.com"
proxy-letsencrypt:
restart: unless-stopped
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- nginx-certs:/etc/nginx
- nginx-html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
environment:
--DEFAULT_EMAIL="me@toozhao.com"
ddns:
restart: unless-stopped
image: peteward44/godaddy-ddns
@@ -19,3 +31,7 @@ services:
- GODADDY_DOMAIN=toozhao.com
- GODADDY_TYPE=A
- GODADDY_NAME="*.home"
volumes:
nginx-certs:
nginx-html: