Created
May 12, 2020 23:17
-
-
Save Skylark95/5eb6808526db6f23f833bde04521e8e7 to your computer and use it in GitHub Desktop.
Pretend You're Xyzzy Docker
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
version: '2' | |
services: | |
nginx-proxy: | |
image: jwilder/nginx-proxy | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: | |
- /etc/nginx/certs | |
- /etc/nginx/vhost.d | |
- /usr/share/nginx/html | |
- /var/run/docker.sock:/tmp/docker.sock:ro | |
nginx-proxy-letsencrypt: | |
image: jrcs/letsencrypt-nginx-proxy-companion | |
volumes_from: | |
- nginx-proxy | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock:ro | |
environment: | |
- [email protected] | |
dockeryourxyzzy: | |
image: emcniece/dockeryourxyzzy:dev | |
environment: | |
- VIRTUAL_HOST=subdomain.yourdomain.tld | |
- LETSENCRYPT_HOST=subdomain.yourdomain.tld | |
- [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment