From d76b5f2b94005d714edab0f255880c3fde45dded Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Sun, 6 Feb 2022 19:12:39 +0100 Subject: [PATCH] nginx-proxy: Add template volume to general volume section --- nginx-proxy/docker-compose.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx-proxy/docker-compose.yaml b/nginx-proxy/docker-compose.yaml index 9d89080..d5058b5 100644 --- a/nginx-proxy/docker-compose.yaml +++ b/nginx-proxy/docker-compose.yaml @@ -24,7 +24,7 @@ services: volumes: - /var/run/docker.sock:/tmp/docker.sock:ro # - ./nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl # use this for the file next to this file - - nginx-tmpl:/etc/docker-gen/templates/ # use this for a named volume containing the file + - nginx_tmpl:/etc/docker-gen/templates/ # use this for a named volume containing the file networks: - webproxy @@ -41,6 +41,7 @@ services: volumes: nginx_conf: + nginx_tmpl: certs: vhost: html: