mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
add certs containers
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user