Skip to content

Commit

Permalink
Update nginx-proxy-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric authored Nov 6, 2023
1 parent e30535c commit ff2aa70
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .deploy/nginx-proxy-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '2'
version: "3.9"

services:
nginx-proxy:
image: jwilder/nginx-proxy
image: nginxproxy/nginx-proxy
container_name: nginx-proxy
restart: always
ports:
Expand All @@ -15,21 +15,27 @@ services:
- dhparam:/etc/nginx/dhparam
- certs:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
network_mode: bridge
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"

letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion:2.0
image: nginxproxy/acme-companion:2.2
container_name: nginx-proxy-le
restart: always
depends_on:
- "nginx-proxy"
environment:
- [email protected]
volumes_from:
- nginx-proxy
volumes:
- certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
network_mode: bridge

networks:
default:
name: nginx

volumes:
conf:
Expand Down

0 comments on commit ff2aa70

Please sign in to comment.