nginx-proxy: Add template volume to general volume section
This commit is contained in:
parent
6fe27ae76f
commit
d76b5f2b94
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue