mod: custom image; forgor ; before

This commit is contained in:
Didier Slof 2023-02-01 11:41:16 +01:00
parent ab00467a8a
commit 4dd72c3eb4
Signed by: didier
GPG key ID: 01E71F18AA4398E5
6 changed files with 4 additions and 48 deletions

View file

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