mod: custom image; forgor ; before
This commit is contained in:
parent
ab00467a8a
commit
4dd72c3eb4
6 changed files with 4 additions and 48 deletions
|
@ -7,7 +7,8 @@ networks:
|
|||
|
||||
services:
|
||||
proxy:
|
||||
image: nginxproxy/nginx-proxy:latest
|
||||
build:
|
||||
context: custom/proxy
|
||||
container_name: proxy
|
||||
restart: always
|
||||
privileged: true
|
||||
|
@ -16,10 +17,7 @@ services:
|
|||
- 443:443
|
||||
volumes:
|
||||
- /srv/.webcerts:/etc/nginx/certs:rw
|
||||
- /srv/proxy/config/conf.d:/etc/nginx/conf.d
|
||||
- /srv/proxy/other/vhost.d:/etc/nginx/vhost.d
|
||||
- /srv/proxy/data/html:/usr/share/nginx/html
|
||||
- /srv/proxy/config/nginx.conf:/etc/nginx/nginx.conf
|
||||
- /var/run/docker.sock:/tmp/docker.sock
|
||||
labels:
|
||||
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true
|
||||
|
|
Reference in a new issue