chore: switch to new reverse proxy images (#35)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #35 Co-authored-by: Davide Polonio <poloniodavide@gmail.com> Co-committed-by: Davide Polonio <poloniodavide@gmail.com>master
parent
4312a74504
commit
6058545dd4
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
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 +14,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 +24,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 +45,7 @@ volumes:
|
|||
device: "/srv/docker/reverse_proxy/certs"
|
||||
nginx_vhost:
|
||||
nginx_html:
|
||||
nginx_acme:
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
|
Loading…
Reference in New Issue