From 3b632b77d5c06ae0fc73369f529110907b021c9b Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Sun, 13 Feb 2022 19:36:17 +0100 Subject: [PATCH] [nginx-proxy] Add restart --- nginx-proxy/docker-compose.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx-proxy/docker-compose.yaml b/nginx-proxy/docker-compose.yaml index d5058b5..a3c14d5 100644 --- a/nginx-proxy/docker-compose.yaml +++ b/nginx-proxy/docker-compose.yaml @@ -3,6 +3,7 @@ services: nginx: image: nginx container_name: nginx + restart: unless-stopped ports: - "80:80" - "443:443" @@ -19,6 +20,7 @@ services: container_name: dockergen command: -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf + restart: unless-stopped volumes_from: - nginx volumes: @@ -30,6 +32,7 @@ services: acme-companion: image: nginxproxy/acme-companion + restart: unless-stopped volumes_from: - nginx volumes: