Merge pull request #2 from lain0/master

restart: always
This commit is contained in:
Rory Davidson 2020-09-11 17:13:24 +01:00 committed by GitHub
commit ac36894c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ volumes:
services: services:
nginx-proxy: nginx-proxy:
image: jwilder/nginx-proxy image: jwilder/nginx-proxy
restart: always
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
@ -26,6 +27,7 @@ services:
letsencrypt: letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion:latest image: jrcs/letsencrypt-nginx-proxy-companion:latest
restart: always
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- /apps/docker-articles/nginx/vhost.d:/etc/nginx/vhost.d - /apps/docker-articles/nginx/vhost.d:/etc/nginx/vhost.d