chore: switch to new reverse proxy images #35

Merged
polpetta merged 4 commits from upgrade-reverse-proxy into master 2025-01-06 13:32:21 +01:00
1 changed files with 9 additions and 6 deletions

View File

@ -1,9 +1,9 @@
--- ---
version: '3.7'
services: services:
nginx: nginx:
image: jwilder/nginx-proxy:alpine image: nginxproxy/nginx-proxy:latest
restart: always container_name: nginx-proxy
restart: unless-stopped
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
@ -14,7 +14,7 @@ services:
- nginx_html:/usr/share/nginx/html - nginx_html:/usr/share/nginx/html
- ./client_max_body_size.conf:/etc/nginx/conf.d/client_max_body_size.conf:ro - ./client_max_body_size.conf:/etc/nginx/conf.d/client_max_body_size.conf:ro
labels: labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy" - "com.github.nginx-proxy.nginx"
networks: networks:
- proxy - proxy
logging: logging:
@ -24,13 +24,15 @@ services:
max-file: "3" max-file: "3"
nginx-letsencript: nginx-letsencript:
image: jrcs/letsencrypt-nginx-proxy-companion:latest image: nginxproxy/acme-companion:latest
restart: always container_name: nginx-proxy-acme
restart: unless-stopped
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- nginx_cert:/etc/nginx/certs - nginx_cert:/etc/nginx/certs
- nginx_vhost:/etc/nginx/vhost.d - nginx_vhost:/etc/nginx/vhost.d
- nginx_html:/usr/share/nginx/html - nginx_html:/usr/share/nginx/html
- nginx_acme:/etc/acme.sh
networks: networks:
- proxy - proxy
@ -43,6 +45,7 @@ volumes:
device: "/srv/docker/reverse_proxy/certs" device: "/srv/docker/reverse_proxy/certs"
nginx_vhost: nginx_vhost:
nginx_html: nginx_html:
nginx_acme:
networks: networks:
proxy: proxy: