Skip to content

Commit

Permalink
Add ACME volume for nginx-proxy-letsencrypt container
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-ramadhan committed Mar 28, 2021
1 parent 8e6da86 commit 56a9893
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.7'
version: '3.8'

services:
nginx-proxy-letsencrypt:
Expand All @@ -10,6 +10,7 @@ services:
- certs:/etc/nginx/certs
- html:/usr/share/nginx/html
- vhost:/etc/nginx/vhost.d
- acme:/etc/acme.sh
depends_on:
- nginx-proxy

Expand Down Expand Up @@ -68,3 +69,4 @@ volumes:
certs:
html:
vhost:
acme:
4 changes: 3 additions & 1 deletion docker-compose.staging.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.7'
version: '3.8'

services:
nginx-proxy-letsencrypt:
Expand All @@ -10,6 +10,7 @@ services:
- certs:/etc/nginx/certs
- html:/usr/share/nginx/html
- vhost:/etc/nginx/vhost.d
- acme:/etc/acme.sh
depends_on:
- nginx-proxy

Expand Down Expand Up @@ -68,3 +69,4 @@ volumes:
certs:
html:
vhost:
acme:
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.7'
version: '3.8'

services:
django:
Expand Down

0 comments on commit 56a9893

Please sign in to comment.