chore: switch to new reverse proxy images
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

pull/35/head
Davide Polonio 2025-01-06 13:23:39 +01:00
parent 54732efe29
commit 79577e3e0e
1 changed files with 9 additions and 7 deletions

View File

@ -1,9 +1,8 @@
---
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 +13,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 +23,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 +44,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: