nginx-proxy: Add template volume to general volume section

This commit is contained in:
JuliusFreudenberger 2022-02-06 19:12:39 +01:00
parent 6fe27ae76f
commit d76b5f2b94

View file

@ -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: