[nginx-proxy] Add restart

This commit is contained in:
JuliusFreudenberger 2022-02-13 19:36:17 +01:00
parent 441c3c31f8
commit 3b632b77d5

View file

@ -3,6 +3,7 @@ services:
nginx: nginx:
image: nginx image: nginx
container_name: nginx container_name: nginx
restart: unless-stopped
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
@ -19,6 +20,7 @@ services:
container_name: dockergen container_name: dockergen
command: -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl command: -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl
/etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
restart: unless-stopped
volumes_from: volumes_from:
- nginx - nginx
volumes: volumes:
@ -30,6 +32,7 @@ services:
acme-companion: acme-companion:
image: nginxproxy/acme-companion image: nginxproxy/acme-companion
restart: unless-stopped
volumes_from: volumes_from:
- nginx - nginx
volumes: volumes: