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: volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro - /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/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: networks:
- webproxy - webproxy
@ -41,6 +41,7 @@ services:
volumes: volumes:
nginx_conf: nginx_conf:
nginx_tmpl:
certs: certs:
vhost: vhost:
html: html: