custom image

This commit is contained in:
Didier Slof 2023-01-31 12:36:37 +01:00
parent 2cd272215d
commit 40d013df56
Signed by: didier
GPG key ID: 01E71F18AA4398E5
5 changed files with 53 additions and 4 deletions

View file

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