Created
April 11, 2016 14:32
-
-
Save ftes/07d560e43f0238f0f8b2baf801d0e5ae to your computer and use it in GitHub Desktop.
This file contains 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
nginx-letsencrypt: | |
image: 'jrcs/letsencrypt-nginx-proxy-companion:latest' | |
volumes: | |
- '/etc/ssl/certs:/etc/nginx/certs' | |
- '/var/run/docker.sock:/var/run/docker.sock:ro' | |
volumes_from: | |
- nginx-proxy | |
nginx-proxy: | |
image: 'jwilder/nginx-proxy:latest' | |
environment: | |
- DEFAULT_HOST=url.com | |
ports: | |
- '80:80' | |
- '443:443' | |
volumes: | |
- '/etc/ssl/certs:/etc/nginx/certs:ro' | |
- '/var/run/docker.sock:/tmp/docker.sock:ro' | |
- /etc/nginx/vhost.d | |
- /usr/share/nginx/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment