custom image
This commit is contained in:
parent
2cd272215d
commit
40d013df56
5 changed files with 53 additions and 4 deletions
|
@ -7,18 +7,16 @@ networks:
|
|||
|
||||
services:
|
||||
proxy:
|
||||
build:
|
||||
context:
|
||||
container_name: proxy
|
||||
restart: always
|
||||
image: nginxproxy/nginx-proxy:latest
|
||||
privileged: true
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
- /srv/.webcerts:/etc/nginx/certs:rw
|
||||
- /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