From 79577e3e0ec22951b937818dc51185c13457b14b Mon Sep 17 00:00:00 2001 From: Davide Polonio Date: Mon, 6 Jan 2025 13:23:39 +0100 Subject: [PATCH] chore: switch to new reverse proxy images --- reverse_proxy/docker-compose.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/reverse_proxy/docker-compose.yaml b/reverse_proxy/docker-compose.yaml index 3181c5a..8c50664 100644 --- a/reverse_proxy/docker-compose.yaml +++ b/reverse_proxy/docker-compose.yaml @@ -1,9 +1,8 @@ ---- -version: '3.7' services: nginx: - image: jwilder/nginx-proxy:alpine - restart: always + image: nginxproxy/nginx-proxy:latest + container_name: nginx-proxy + restart: unless-stopped ports: - 80:80 - 443:443 @@ -14,7 +13,7 @@ services: - nginx_html:/usr/share/nginx/html - ./client_max_body_size.conf:/etc/nginx/conf.d/client_max_body_size.conf:ro labels: - - "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy" + - "com.github.nginx-proxy.nginx" networks: - proxy logging: @@ -24,13 +23,15 @@ services: max-file: "3" nginx-letsencript: - image: jrcs/letsencrypt-nginx-proxy-companion:latest - restart: always + image: nginxproxy/acme-companion:latest + container_name: nginx-proxy-acme + restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - nginx_cert:/etc/nginx/certs - nginx_vhost:/etc/nginx/vhost.d - nginx_html:/usr/share/nginx/html + - nginx_acme:/etc/acme.sh networks: - proxy @@ -43,6 +44,7 @@ volumes: device: "/srv/docker/reverse_proxy/certs" nginx_vhost: nginx_html: + nginx_acme: networks: proxy: