Last active
February 25, 2020 10:49
-
-
Save Kanabanarama/fafa90cac40284cd8ccb1c1a72e87799 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/jwilder/nginx-proxy | |
# https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion | |
version: '2' | |
services: | |
nginx-proxy: | |
image: jwilder/nginx-proxy | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock:ro | |
- /etc/nginx/certs | |
- /etc/nginx/vhost.d | |
- /usr/share/nginx/html | |
nginx-proxy-letsencrypt: | |
image: jrcs/letsencrypt-nginx-proxy-companion | |
volumes_from: | |
- nginx-proxy | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock:ro | |
environment: | |
- DHPARAM_GENERATION=false | |
- DEFAULT_EMAIL=[---email---] | |
- VIRTUAL_HOST=[---virtual_host---] | |
- LETSENCRYPT_HOST=[---letsencrypt_host---] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment