Created
June 7, 2016 16:02
-
-
Save johnrom/f3f4393b3ae334d49731a49a21118102 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
# The NGINX Reverse Proxy that routes to other containers | |
myproxy: | |
image: jwilder/nginx-proxy | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock | |
- ./_conf/certs:/etc/nginx/certs | |
ports: | |
- "80:80" | |
- "443:443" | |
### mysite_start ### | |
mysite: | |
image: httpd:2.4 | |
environment: | |
- VIRTUAL_HOST=mysite.local | |
- HTTPS_METHOD=noredirect | |
### mysite_end ### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment