Skip to content

Commit

Permalink
master - changed to acme companion
Browse files Browse the repository at this point in the history
  • Loading branch information
ionghitun committed Oct 20, 2021
1 parent ef79f81 commit 352ba7c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.gitignore
licence
readme.md
LICENCE
README.md
html/.gitkeep
File renamed without changes.
File renamed without changes.
14 changes: 8 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
version: '3.9'
services:
nginx-proxy:
image: jwilder/nginx-proxy
image: nginxproxy/nginx-proxy
container_name: nginx-proxy
restart: unless-stopped
environment:
ENABLE_IPV6: true
ports:
- "80:80"
- "443:443"
Expand All @@ -15,17 +17,17 @@ services:
- ./certs:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro

letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
container_name: nginx-proxy-le
nginx-proxy-acme:
image: nginxproxy/acme-companion
container_name: nginx-proxy-acme
restart: unless-stopped
depends_on:
links:
- nginx-proxy
volumes:
- ./vhost:/etc/nginx/vhost.d
- ./html:/usr/share/nginx/html
- ./dhparam:/etc/nginx/dhparam
- ./certs:/etc/nginx/certs
- ./certs:/etc/nginx/certs:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- NGINX_PROXY_CONTAINER=nginx-proxy
Expand Down

0 comments on commit 352ba7c

Please sign in to comment.