Letsencrypt depends on nginx

This commit is contained in:
Max Lou Hartel- Kaduk 2020-12-18 11:41:07 +01:00
parent ac36894c12
commit 36104809fd

View File

@ -28,6 +28,8 @@ services:
letsencrypt: letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion:latest image: jrcs/letsencrypt-nginx-proxy-companion:latest
restart: always restart: always
depends_on:
- nginx-proxy
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